How to Get FindControl Name in Telerik Radgrid

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

    Posted 19 Feb 2015 Link to this post

    Hi

    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
    Admin
    Eyup avatar
    3012 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"]:
    http://www.telerik.com/help/aspnet-ajax/grid-accessing-cells-and-rows.html

    Hope this helps.

    Regards,
    Eyup
    Telerik
     

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top