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
482
FileUpload Column in UltraWebgird
posted

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 :

FileUpload getPath = new FileUpload();

getPath.ID = "fileLoad";

Grid1.Bands[0].Columns[columnIndex].Type = ColumnType.Custom;

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,

Parents
  • 28464
    posted

    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.

Reply Children