I need to make a column as FileUpload column in ultrawebgrid (so that user can browse through and set a path for example).
I am doing :
getPath.ID = "fileLoad";
Grid1.Bands[0].Columns[columnIndex].EditorControlID = "fileLoad";
But it is not working. I am using Infragistics 7.1 on .Net 2.0.
I would really appreciate if you could respond asap.
Thanks,
Hello,
Yes, indeed - this is the expected behaviour. The EditorControlID functionality is only supported by controls that implement specific interface which is internal for Infragistics products like the "editor" controls we ship - masked editor, numeric, etc. FileUpload is a stock ASP.NET built-in control and does not implement this specific interface.
In this case I believe the only option is to use templated columns and embed the FileUpload inside the CellTemplate.
Hope this helps.
Can you please give me an example. I am generating all the columns through c# and not through aspx code.