Is there a good sample of how to build the rowedittemplate dynamically? Including the clientbindings and template within the rowedittemplate? Need to do all this below on the server:
<
>
="buttonOK">
/>
="$get({ClientID}).value"
:none">
="OK"
="return"
Hello ratkinson,
I suggest you to check the following article, describing adding RowEditingTemplate and using Client bindings from the code-behind: http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/WebDataGrid_Using_Client_Bindings.html.
Please let me know if this helps.
Yes this does help with a WebDataGrid. I assumed this would work for a WebHierarchicalDataGrid as well, but does not. In regards to the WebHierarchicalDataGrid, the following code does not proceduce a runtime error, but the template is not created and the InstantiateIn method in the CustomRowEditingTemplate class never fires. So do you have an example of this working in the WebHierarchicalDataGrid?
this.WebDataGrid1.Behaviors.EditingCore.Behaviors.RowEditTemplate.Template = new CustomRowEditingTemplate();
new