G
Guest
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_Click(object sender, System.EventArgs e)
{
bool MyVar = true;
Msg.Text = "ReDirecting to Home.aspx";
Response.Redirect("Home.aspx",MyVar);
}
AND.....
private void LinkButton2_Click(object sender, System.EventArgs e)
{
Msg.Text = "ReDirecting to Home.aspx";
Response.Redirect("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_Click(object sender, System.EventArgs e)
{
bool MyVar = true;
Msg.Text = "ReDirecting to Home.aspx";
Response.Redirect("Home.aspx",MyVar);
}
AND.....
private void LinkButton2_Click(object sender, System.EventArgs e)
{
Msg.Text = "ReDirecting to Home.aspx";
Response.Redirect("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