Hi,
I have a problem finding a solid reusable method to create multilevel hierarchical databinding with ajax radgrid that also allow editing.
All the datasources are built using codesmidth. The solution is a product im continuing for a customer, why the structure with codesmith generation and telerik is fixed.
CodeSmidth builds hierarchical objectdatasources and telerik builds hierarchical grids, but they are not compatible, unfortunately.
So I need to create a codesmidth dynamic bidir datasource and assign this in the needdatasource events, for instance when an expand is clicked. But, but, the arguments for the needdatasource events is quite poor with information, since i cannot determine which level of detailtable is being opened.
Another try was to assign a datasource to the detailtable in the detailtabledatabind event, but here i get the exception "object reference not set..." when it reaches the GetCollectionItemType in the grid.
What can I do ?
Any help is appreciated.
I have a problem finding a solid reusable method to create multilevel hierarchical databinding with ajax radgrid that also allow editing.
All the datasources are built using codesmidth. The solution is a product im continuing for a customer, why the structure with codesmith generation and telerik is fixed.
CodeSmidth builds hierarchical objectdatasources and telerik builds hierarchical grids, but they are not compatible, unfortunately.
So I need to create a codesmidth dynamic bidir datasource and assign this in the needdatasource events, for instance when an expand is clicked. But, but, the arguments for the needdatasource events is quite poor with information, since i cannot determine which level of detailtable is being opened.
Another try was to assign a datasource to the detailtable in the detailtabledatabind event, but here i get the exception "object reference not set..." when it reaches the GetCollectionItemType in the grid.
What can I do ?
Any help is appreciated.