Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Binding ModalPopUpExtender to the edit radiobutton at OnRowDataBound event.

$
0
0

Working Scenario:

I have a gridview in which in relevance to each record there are Edit and delete options.

  • For edit there is a radiobutton with respect to each record, which on being checked opens a ModalPopUpExtender pop up in which I am willing to provide update functionality.
  • For delete there is a checkbox relevant to each record.

Issues:

Now, there are two issues that I am Facing:

  • I want only one radiobutton to be "checked=true" at a time. i.e. allowing only one record to be in edit mode at a time. (for which I have already tried using "GroupName" property of radiobutton but at the runtime when the control is rendered then corresponding to each radiobutton in the ItemTemplate a unique GroupName is generated which allows more than one radiobuttons to be checked=true.)
  • How to bind ModalPopUpExtender to radiobutton on RowDataBound event.

Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>