Is there a way to set a asp.net button's CommandArgument in javascript?

前端 未结 3 717
有刺的猬
有刺的猬 2021-01-17 23:01

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 t

3条回答
  •  伪装坚强ぢ
    2021-01-17 23:17

    If you are using Updatepanel, you need to place the Hiddenfield inside the Updatepanel. Otherwise you will not be able to get/set the value stored in hiddenfield.

提交回复
热议问题