Working with XP-Pro and VS.Net I have set my Start Page to "Home.aspx" but
the application always starts the "Login" page - - - How can I change the
start page to the Home.aspx???
On the login page that displays I have
private void LinkButton1_Cli ck(object sender, System.EventArg s e)
{
bool MyVar = true;
Msg.Text = "ReDirectin g to Home.aspx";
Response.Redire ct("Home.aspx", MyVar);
}
AND.....
private void LinkButton2_Cli ck(object sender, System.EventArg s e)
{
Msg.Text = "ReDirectin g to Home.aspx";
Response.Redire ct("Home.aspx", MyVar);
}
Using debug I see that both buttons just re-load the Login page and
re-execute the Login page Page_Load event???
WHY / HOW can I get the ReDirects to work?
I am so frustrated - please help me understand WHY these don't work.
Thanks in advance,
Paul
the application always starts the "Login" page - - - How can I change the
start page to the Home.aspx???
On the login page that displays I have
private void LinkButton1_Cli ck(object sender, System.EventArg s e)
{
bool MyVar = true;
Msg.Text = "ReDirectin g to Home.aspx";
Response.Redire ct("Home.aspx", MyVar);
}
AND.....
private void LinkButton2_Cli ck(object sender, System.EventArg s e)
{
Msg.Text = "ReDirectin g to Home.aspx";
Response.Redire ct("Home.aspx", MyVar);
}
Using debug I see that both buttons just re-load the Login page and
re-execute the Login page Page_Load event???
WHY / HOW can I get the ReDirects to work?
I am so frustrated - please help me understand WHY these don't work.
Thanks in advance,
Paul
Comment