checkbox in a DataGrid

Results 1 to 2 of 2

Thread: checkbox in a DataGrid

  1. #1
    Join Date
    Dec 1969

    Default checkbox in a DataGrid

    I have populated a datagrid web control and I have a boolean field in the database, what I want to do is to check the value of that boolean field: if it is true, I need to disable the checkbox which is popluated in the datagrid &#060;asp:TemplateColumn&#062;. The problem I do not know how to do this in design time, because it is not allowed to write code in the datagrid in the design view.<BR><BR>Could anyone help?

  2. #2

    Default RE: checkbox in a DataGrid

    You probably need to use the datagrid&#039;s on item databound event.<BR>You can check the datagrid examples on the main site.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts