radgrid Preselected GridClientSelectColumn

3 posts, 1 answers
  1. Mark
    Mark avatar
    20 posts
    Member since:
    Feb 2008

    Posted 09 Sep 2009 Link to this post

    When my radgrid loads I want my GridClientSelectColumn already selected. I need to have all rows selected from the start. How do I do that in VB.Net?
  2. Answer
    Daniel
    Admin
    Daniel avatar
    4943 posts

    Posted 09 Sep 2009 Link to this post

    Hello Mark,

    A possible approach could be to use the PreRender event:
    Protected Sub Page_PreRender(ByVal o As ObjectByVal e As EventArgs) 
        For Each item As GridDataItem In RadGrid1.Items 
            item.Selected = True 
        Next 
    End Sub 


    Best regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark
    Mark avatar
    20 posts
    Member since:
    Feb 2008

    Posted 10 Sep 2009 Link to this post

    Perfect thanks!
Back to Top