How to Get FindControl Name in Telerik Radgrid

2 posts, 0 answers
  1. Jaya
    Jaya avatar
    85 posts
    Member since:
    Mar 2011

    Posted 19 Feb 2015 Link to this post


    How to use Telerik Radgrid Find Control Dynamically
    For ex: My Code This

     foreach (GridDataItem gr in TlkGrd.Items)
        CheckBox ChkStatus = gr.FindControl("ChkStatus ") as CheckBox;

    here I already binded my grid but here when i click the button control i need how to without mention my Findcontrol i take my findcontrol property name 
    i take dynamically how will do this
  2. Eyup
    Eyup avatar
    3323 posts

    Posted 24 Feb 2015 Link to this post

    Hello Jaya,

    I'm afraid it is difficult to figure out your exact scenario. If you do not know the exact ID of the checkbox in order to use the FindControl method, you can traverse the Controls collection of the TableCell - gr["ColumnName"]:

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top