Control button Post Back when click it in ASP.NET with VB.NET

Posted by Lefteris Gkinis on Stack Overflow See other posts from Stack Overflow or by Lefteris Gkinis
Published on 2010-05-11T16:38:49Z Indexed on 2010/05/11 16:54 UTC
Read the original article Hit count: 234

Filed under:
|

In my Default.aspx web page i use the following code in order to save some Attributes to an xml file

<asp:Button ID="Button1" Text="Save Attributes" CssClass="Button01" runat="server"  OnClientClick="SaveAttributesButton_Click(); return, false;" >
                        </asp:Button>

when i Click on the button that starts to make postback all the code right from the page load
I have already use the HTML Button but this need a java script which is run when the page load
And sub without my command
Please is there anybody which can assist me on this issue?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about visual-studio-2010