Checkbox question

7 replies. Last post: February 12, 2010 5:15 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I've added a checkbox column to my webgrid in server-side code:

 

wgCol = New WebGridColumn("Load " & i, "Load " & i)

wgCol.DataType = "System.String"

"System.String"

wgCol.ColumnType = ColumnType.CheckBox

wgCol.Bound =
False

WebGrid1.RootTable.Columns.Add(wgCol)

 

I set the value to True in the WebGrid1_InitializeRow event:

e.Row.Cells.GetNamedItem(cell).Value = True  

 When the Page finishes loading, the checkbox is checked, however, when I test the value in an UpdateRow event it returns Nothing.

Any help would be greatly appreciated.

 

Conrad

All times are GMT -5. The time now is 2:21 AM.
Previous Next