ClientSelectColumn - Programatic creation

2 posts, 0 answers
  1. Bruce
    Bruce avatar
    33 posts
    Member since:
    Oct 2006

    Posted 23 Mar 2009 Link to this post

    How do I programitically create a ClientSelectColumn ?
    How do I programitically create  a GridEditCommandColumn?

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

    Posted 23 Mar 2009 Link to this post

    Hello Bruce,

    Check out the following to dynamically add a GridClientSelectColumn and a GridEditCommandColumn to your grid:

    C#:
     RadGrid1.ClientSettings.Selecting.AllowRowSelect = true;//to allow selection in grid 
     
     GridClientSelectColumn selectcolumn = new GridClientSelectColumn(); 
     RadGrid1.MasterTableView.Columns.Add(selectcolumn); 
     
     GridEditCommandColumn editcolumn = new GridEditCommandColumn(); 
     RadGrid1.MasterTableView.Columns.Add(editcolumn); 

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