how to: get rid of __doPostBack from link buttons?

Posted by b0x0rz on Stack Overflow See other posts from Stack Overflow or by b0x0rz
Published on 2010-05-28T15:16:32Z Indexed on 2010/05/28 15:22 UTC
Read the original article Hit count: 217

Filed under:
|
|
|

for example:

this code:

<asp:LinkButton ID="SignInLinkButton" runat="server" CssClass="SignInLinkButton" TabIndex="3" OnClick="AuthorizeUser">SignIn</asp:LinkButton>

shows this as link in status bar:

javascript:__doPostBack('ctl00$ctl00$GlobalPageContentPlaceHolder$ManagePageContentPlaceHolder$SignInLinkButton','')

is there a chance o get rid of this ugliness? or is there a better way of doing this, that does not generate this insanity?

i searched, but did not find an answer, so links are also cool. thnx

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET