Uncheck the Already Selected Check Boxes in Telerik Grid

2 posts, 0 answers
  1. sri
    sri avatar
    1 posts
    Member since:
    Aug 2011

    Posted 21 Apr 2012 Link to this post

    In telerik gridview,  i am having checkbox, preview button, description button in each row of telerik grid once i select some checkboxes and hits download button i want to uncheck all the checkboxes that were checked earlier in the grid. is there any way in javascript  or telerik functionality to uncheck all the checkboxes after hitting download button

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Apr 2012 Link to this post

    Hello Sri,

    Try the following code.
    JS:
    function uncheck()
    {
      var masterTable = $find("<%= Radgrid1.ClientID %>").get_masterTableView();
      var row = masterTable.get_dataItems();
      for (var i = 0; i < row.length; i++)
      {
       masterTable.get_dataItems()[i].set_selected(false);
      }
    }

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