Click here to Skip to main content
15,906,329 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In RadGrid ItemCommand, get radiobutton value when default radgrid's edit link is clicked.How can i get it ,please help me Thank you.
Posted

Try this

C#
<itemtemplate>
<asp:radiobutton id="Radiobuttonid" text="Contact name" runat="server" />
</itemtemplate> 


C#
// in itemcommand
RadioButton rdb =(RadioButton)  e.Item.FindControl("Radiobuttonid");
      if (rdb != null)
      { 
           //code to use radiobutton
      }


Refer this link
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
 
Share this answer
 
v2
Instead of rgDesignation_radgrid_ItemCommand by using the radgrid_ItemDatabound command i achieve it
 
Share this answer
 
Comments
pradiprenushe 29-Aug-12 1:58am    
you want value after some command happen write?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900