Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Capture click event for unbound checkbox
posted

I have tried searching the forums, but don't quite see the code for what I'm trying to do.  I have an web grid, and have added an unbound checkbox as the first column of the grid.  I have used this code:

gridAssigned.Columns.Insert(0, "UnAssign");

gridAssigned.Columns[0].Type = Infragistics.WebUI.UltraWebGrid.ColumnType.CheckBox;

gridAssigned.DisplayLayout.Bands[0].Columns[0].Header.Caption = "UnAssign";

That works fine.  I don't need to save the values or be able to select all or anything.  All I want to do now is capture the event as soon as a checkbox is clicked and perform some action.  I am just not sure how to do this.  Do I need to set AllowUpdate to true?  Do I need to add something in the InitializeComponent?  I created a sub called

protected void gridAssigned_CellChange(object sender, CellEventArgs e)

 and put my code in there, but it never hits that.  Any help would be greatly appreciated.

Thanks!