S
simon
hello,
what code would i use to kick off a javascript script after i had
registered it?
If (Not Page.IsClientScriptBlockRegistered("jsScript")) Then
Page.RegisterClientScriptBlock("jsScript", strScript)
End If
looking to kick off a script from inside a codebehind, but
conditionally not on an onClick event.
is there a way to do this?
have also played around with
IsStartupScriptRegistered/RegisterStartupScript
but still not sure of how to call that script from one of my functions
in my codebehind
any help would be apprecaited! thanks
what code would i use to kick off a javascript script after i had
registered it?
If (Not Page.IsClientScriptBlockRegistered("jsScript")) Then
Page.RegisterClientScriptBlock("jsScript", strScript)
End If
looking to kick off a script from inside a codebehind, but
conditionally not on an onClick event.
is there a way to do this?
have also played around with
IsStartupScriptRegistered/RegisterStartupScript
but still not sure of how to call that script from one of my functions
in my codebehind
any help would be apprecaited! thanks