One way to do this is
Register StartUp script on pageload of your usercontrol
Page_Load()
{
ClientScript.RegisterStartupScript(this.GetType(), "onlo", "YourMethod();",true);
}
Another way is
call your method on window.onload
Thursday, October 30, 2008
Subscribe to:
Posts (Atom)