Page.ClientScript.RegisterStartupScript(Me.GetType(), "Key", "<Your Function Name in Javascript>", True)
eg:
Page.ClientScript.RegisterStartupScript(Me.GetType(), "SampleKey", "Validate();", True)
This will work i am using this code
____________
www.flickr.com/photos/psdesigner/
Nerdanalysis, if this helps please login to Mark As Answer. |
Reply | Alert Moderator