I have .aspx page and .ascx page. I am calling the .ascx page form .aspx page. So when I called .aspx pageload event, then my .ascx page load event is also get called. Now my questions is I want to call the .ascs page load form one fo the method() form .aspx page.
Example:-
.aspx page
pageload()
{
//I want to call the Pageload() of .ascs page
}
method()
{
//I want to call the Pageload() of .ascs page
}
.ascx page.
Pageload() // Pageload() of .ascs page
{
}
Can any one help me?