My GridView has a list of items where one of the columns contains a link that triggers a modal display using AjaxToolkit ModalPopupExtender. This link is labeled as "Show". Inside the modal, there is an asp:button for saving the data entered, which is labeled as "Save".
When a user clicks on the "Show" link in a specific row, I want to implement JavaScript that modifies something in the "Save" button. This will allow me to handle the "Save".Command in my code-behind and utilize the CommandEventArgs parameter to access the value.
Is it possible to achieve this through JavaScript manipulation or do I need to resort to using a hidden input tag and setting its value instead?