I am registering the script on my page load event for the thickbox page to open. But some time only the gray background appears and not the thickbox page. Let me know if I am missing anything. Below is the code for registering the thickbox. Any help would be greatly appreciated.
Dim sb As New StringBuilder()
sb.AppendLine("<script type=""text/javascript"">")
sb.AppendLine("jQuery(document).ready(function($)")
sb.AppendLine("{")
sb.AppendLine("tb_show(null, ""Thickbox.aspx?TB_iframe=true&height=500&width=500&modal=true"", null)")
sb.AppendLine("});")
sb.AppendLine("</script>")
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "RegisterWidgetScript", sb.ToString())
I am new to the forum..let me know if any similar thread has the solution?
Thanks Gabi