Dynamic Checkbox in RadGrid appears disabled

3 posts, 0 answers
  1. Deepak Vasudevan
    Deepak Vasudevan avatar
    82 posts
    Member since:
    May 2010

    Posted 10 Nov 2011 Link to this post

    I am creating the columns in the grid dynamically and there is a checkbox in the first column. It is appearing disabled. I would like to have the checkbox enabled. Can some one throw some pointers please?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Nov 2011 Link to this post

    Hello Deepak,

    I suppose GridCheckBoxColumn is your first column.Normally,in browser mode GridCheckBoxColumn is in disabled state. So one suggestion is you can add GridTemplateColumn and add CheckBox in itemTemplate. The following documentation explains the programmatic creation of GridTemplateColumn.
    Creating template columns programmatically

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Deepak Vasudevan
    Deepak Vasudevan avatar
    82 posts
    Member since:
    May 2010

    Posted 14 Nov 2011 Link to this post

    Thanks Princy. That worked for me.
Back to Top