N
narmathabala
Hi,
I have a set of linkbuttons postback to the same page using
Response.Redirect().
It works great with FF but not on IE (surprising). On IE, the PostBack
does not work. Am I missing anything here? I work with .Net 2.0.
Could anyone please, let me know how to work around this?
Page_Load()
{
if(!isPostBack)
{
if(Request.Querystring["action"] == "click1")
DoClick1();
if(Request.Querystring["action"] == "click2")
DoClick2();
}
}
LinkButton1_Click()
{
Response.Redirect("main.aspx?action=click1");
}
LinkButton2_Click()
{
Response.Redirect("main.aspx?action=click2");
}
Thanks in advance,
Narmatha
I have a set of linkbuttons postback to the same page using
Response.Redirect().
It works great with FF but not on IE (surprising). On IE, the PostBack
does not work. Am I missing anything here? I work with .Net 2.0.
Could anyone please, let me know how to work around this?
Page_Load()
{
if(!isPostBack)
{
if(Request.Querystring["action"] == "click1")
DoClick1();
if(Request.Querystring["action"] == "click2")
DoClick2();
}
}
LinkButton1_Click()
{
Response.Redirect("main.aspx?action=click1");
}
LinkButton2_Click()
{
Response.Redirect("main.aspx?action=click2");
}
Thanks in advance,
Narmatha