Page_Load Not calling in IIS
-
while Redirect the page, Page_Load is not calling after hosting the application to IIS. when using the visual studio is calling ... i made like these.. Base class which has inherit Page
public partial class BasePage: Page
{
protected void Page_Load(object sender, EventArgs e)
{
}}
Our page Inherit BasePage
public partial class MainPage : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}Now calling from Another page
Response.Redirect(MainPage.aspx)
The Mainpage calss Page_Load is calling whilw running Visualstudio app. But after hosting to the IIS The Page_Load is not called Please help me Thanks
-
while Redirect the page, Page_Load is not calling after hosting the application to IIS. when using the visual studio is calling ... i made like these.. Base class which has inherit Page
public partial class BasePage: Page
{
protected void Page_Load(object sender, EventArgs e)
{
}}
Our page Inherit BasePage
public partial class MainPage : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}Now calling from Another page
Response.Redirect(MainPage.aspx)
The Mainpage calss Page_Load is calling whilw running Visualstudio app. But after hosting to the IIS The Page_Load is not called Please help me Thanks