Dynamic Template Clm in Ultrawebgrid in c#
How to add a checkbox into infragistic ultrawebgrid at runtime....
i m using this code. But using that what i get a blank template column along with others bound column, but unable to see the check box...
Please help me it's urgent......
Co-operation will be appreated...
Thanks
This is piece of code for adding template column , i m using..
// Start
Infragistics.WebUI.UltraWebGrid.TemplatedColumn objTempColumn = new Infragistics.WebUI.UltraWebGrid.TemplatedColumn();
Infragistics.WebUI.UltraWebGrid.UltraGridCell Cell = new UltraGridCell();
Infragistics.WebUI.UltraWebGrid.CellItem CI = new CellItem(Cell);
CheckBox objChk = new CheckBox();
objChk.ID = "chkPointID";
CI.Controls.Add(objChk);
objTempColumn.CellItems.Add(CI);
UltraWebGrid1.Bands[0].Columns.Add(objTempColumn);
//End
__________________
Thanks
-Pankaj Bahuguna
|