Is there a way to make a cell a checkbox cell without making the entire column of type checkbox? I'm converting a winforms dialog to the web and this functionality is possible with the UltraWinGrid...but I can't figure it out in the UltraWebGrid. thanks heaps!
Hi,
What type is the column that you are trying to cast? Is it TemplatedCloumn or UltraGridColumn of type checkbox?
I'm using the same VB code shown above and I'm getting a typecast error...
Unable to cast object of type 'Infragistics.WebUI.UltraWebGrid.UltraGridColumn' to type 'Infragistics.WebUI.UltraWebGrid.TemplatedColumn'
Any thoughts?
Hi
I want to add 2 drop down lists in a single cell. for that what should i do. Can anyone provide me the sample code to have a know how about it?
Any little help will be appreciated greatly
Thanks
Regards
Sohaib qazi
I also was getting a type cast error, but it was because the Intellisense didn't recognize TemplatedColumn and was defaulting to TemplateColumn (asp.net - notice the missing "d").
when i try to typecast it to TemplatedColumn it throws a error, mentioning unable to cast from gridcolumn to templatedcolumn. I am using hte same code mentioned abve (C#)
any comments?
UltraGridCell cell1 = e.Row.Cells.FromKey("Trend"); TemplatedColumn column1 = (TemplatedColumn)cell1.Column; CellItem cellItem = (CellItem)column1.CellItems[e.Row.Index]; Image img = (Image)cellItem.FindControl("Image1"); img.Attributes.Add("onMouseDown", "GridCellImageMouseDown(" + img + ")"); img.Attributes.Add("onDragStart", "InitiateDragForResult()");