Is there a way to set a asp.net button's CommandArgument in javascript?
<p>I have a GridView that lists a bunch of items and one of the columns has a link that displays a modal (AjaxToolkit ModalPopupExtender). Let's call that link "Show".  In that modal, I have a asp:button for saving the data entered in that modal.  Let's call that button "Save"</p>

<p>So when the user clicks on a "Show" link in a certain row, I'd like write some javascript that sets something in the "Save" button, so that in my code-behind, I can handle "Save".Command and use the CommandEventArgs parameter to get the value.</p>

<p>Is this possible, or do I just need to use a hidden input tag and set its value? </p>
