I have this ASP.net component:
<asp:Button ID="Button4" runat="server" Text="Submit Entry" CssClass="eventSubmitButton" OnClick="SubmitData"/>
and I'd like to send some additional information to this SubmitData method, implemented in C#. For example, I want to send an int set in the javascript. I've read that the way to do this is extending the EventArgs class.
However, I don't really understand. Sure I can implement a class that extends EventArgs in C#, but how does that help me pass information from my Javascript?
Is there another way to pass arbitrary information during postback?