Virus Kiraak

Virus Kiraak

  • NA
  • 14
  • 28k

Update panel + Gridview

Sep 16 2012 3:15 AM

Hi there,

I'm having two panels. One panel contains 2 drop downs and Add button, other panel contains Gridview. In the Gridview I have radio button(input control).I wrapped two panels in a Update Panel.

When I click on Add button i'm able to retrieve the dropdown selected values, but i'm unable to retrieve radio button checked value which is in another panel.

I'm assigning the radio button checked property with the jQuery

<script type="text/javascript"> $(document).ready(function () { $(".rbclass").attr("name", "rdoGrpName"); }); </script>

Radio button is inside the gridview

<input id="rdoID" type="radio" runat="server" class="rbclass" value=' <%# Container.DataItemIndex %>' /> 

How to retrieve checked value of the radio button which is in Gridview.
Please help me.

Regards,

MZee.


Answers (1)