Hi,
I'm able to dynamically add columns (TemplateDataField) to my grid but once I sort on another column, the controls in my template dissapear...
How can these values be persisted through the sorting and filter postback events??
Thanks,
Yohan
Hi yohanb,
In order to ensure your template controls persist through postback, you would need to add the templated column to the grid in the PreInit event handler.
You can find more info regarding dynamic addition of templated columns (the discussion is for UltraWebGrid, however the concept is the same in WebDataGrid) at :
https://es.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/18532/dockable-pane-displaying-in-designer-but-not-at-runtime#17876
Please contact me if you have any questions.
Petar IvanovDeveloper Support EngineerInfragistics, Inc.https://es.infragistics.com/support