Hi All,
I have an issue with a RadWindow. It's got a RadTabStrip and a RadMultiPage on it.
On changing the Tab, I postback, and reload the window using :-
radWindow.Visible = True
Dim script As String = "function f(){$find(""" + radWindow.ClientID & """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "key", script, True)
This works most of the time, but occasionally I get the following error (happens more on the WebSever vs Localhost) :-
<script type="text/javascript">
//<![CDATA[
function f(){$find("radWindow").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);
document.getElementById('vcmValidationSummary').dispose = function() {
Array.remove(Page_ValidationSummaries, document.getElementById('vcmValidationSummary'));
}
//]]>
</script>
And the Error is "Microsoft JScrips runtime error: Unable to get value of the property 'show'; object is null or undefined".
It's as if the RadWindow hasn't been loaded. Any ideas where I'm going wrong?