T
Tony
Hi,
What's wrong in my code ??
I'm new to C# and working on somebody else application
developped in C#.
I have a LinkButton in a user control page,
the LinkButton log out the user when he click it.
here is the code:
<asp:linkbutton ID="logOut_" OnClick="logOut_Click"
Runat="server">Log Out</asp:LinkButton>
and the code behind is :
protected System.Web.UI.WebControls.LinkButton logOut_;
public void logOut_Click (object sender, EventArgs e)
{
FormsAuthentication.SignOut();
Response.Redirect(Request.ApplicationPath);
}
when the page that call the user control load, a
javascript type error message say: "expected identifier"
if I click this LinkButton I get an error:
"Microsoft Jscript Runtime error: Object expected"
when I hilight the code where the execution stopped that's
what is displayed:
__doPostBack('TabStrip1$logOut_','')
Thank you for any help.
What's wrong in my code ??
I'm new to C# and working on somebody else application
developped in C#.
I have a LinkButton in a user control page,
the LinkButton log out the user when he click it.
here is the code:
<asp:linkbutton ID="logOut_" OnClick="logOut_Click"
Runat="server">Log Out</asp:LinkButton>
and the code behind is :
protected System.Web.UI.WebControls.LinkButton logOut_;
public void logOut_Click (object sender, EventArgs e)
{
FormsAuthentication.SignOut();
Response.Redirect(Request.ApplicationPath);
}
when the page that call the user control load, a
javascript type error message say: "expected identifier"
if I click this LinkButton I get an error:
"Microsoft Jscript Runtime error: Object expected"
when I hilight the code where the execution stopped that's
what is displayed:
__doPostBack('TabStrip1$logOut_','')
Thank you for any help.