1. Yuvraj
    Yuvraj avatar
    3 posts
    Member since:
    Apr 2016

    Posted 11 Aug 2016 Link to this post

    I am using radgrid, i have used asp link button in GridTemplateColumn .

    On click of link button i want to get value of label which is different GridTemplateColumn using javascript.

    How to fetch value of label by client side.

    Please help. Regards

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 16 Aug 2016 Link to this post


    You can use the findControl() method to get reference to client object of RadControl or ASP.NET AJAX control inside the grid row.

    function getControl() {
            var masterTable = $find("<%=RadGrid1.ClientID%>").get_masterTableView();
            var radlbl1 = masterTable.get_dataItems()[0].findControl('Label1');// Here 0 represents the index of crow in editmode

    Maria Ilieva
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top