A
Anthony Hunter
Hello,
I am loading a user control into a panel on my default page "Default.aspx" :
void LoadControlData()
{
this.pnlCONTENT.Controls.Add(LoadControl("Default_Content.ascx"));
}
The user control "Default_Content.ascx" has a linkbutton that is tied to a
click event:
void lnkMainPage_Click(object sender, EventArgs e)
{
Response.Redirect(User_Info.Application_Path + "\\Main.aspx");
}
When I click the link button, the event never gets executed (tested in CLR
Debugger). I am only redirected back to default.aspx with nothing on the
page. Is there something I may be missing?
Please help... Thanks in advance,
Tony
I am loading a user control into a panel on my default page "Default.aspx" :
void LoadControlData()
{
this.pnlCONTENT.Controls.Add(LoadControl("Default_Content.ascx"));
}
The user control "Default_Content.ascx" has a linkbutton that is tied to a
click event:
void lnkMainPage_Click(object sender, EventArgs e)
{
Response.Redirect(User_Info.Application_Path + "\\Main.aspx");
}
When I click the link button, the event never gets executed (tested in CLR
Debugger). I am only redirected back to default.aspx with nothing on the
page. Is there something I may be missing?
Please help... Thanks in advance,
Tony