Control button Post Back when click it in ASP.NET with VB.NET
- by Lefteris Gkinis
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?