I can't find original post. This is what you wrote:
Hello DP,
Thank you for writing.
I do not know exactly what is your scenario, but the reason for the described behavior is that the child template columns are generated again in run-time. In this way they lose their settings made in design-time. I suppose that maybe you use AutoGenerate hierarchy from datasource or you change binding in run-time. I have tested a hierarchy scenario when I have done all the settings by the PropertyBuilder.
I have created manually child templates and relation and everything works as expected. ChildTemplate column settings have been preserved.
To provide you with further assistance I need more information about your scenario. It will be very helpful if you send me an example application that demonstrates the issue. On order to allow you attachments I have moved your topic in our support system.
I am looking forward for your reply.
All the best,
Martin Vasilev
the Telerik team
You are right, I do use AutoGenerateHierarchyFromDataSet = True.
I have to set this at run time. Can you give sample code for setting widths of columns and hiding columns of the Child Grid at run time.
Thanks ... DP
Hello DP,
Thank you for writing.
I do not know exactly what is your scenario, but the reason for the described behavior is that the child template columns are generated again in run-time. In this way they lose their settings made in design-time. I suppose that maybe you use AutoGenerate hierarchy from datasource or you change binding in run-time. I have tested a hierarchy scenario when I have done all the settings by the PropertyBuilder.
I have created manually child templates and relation and everything works as expected. ChildTemplate column settings have been preserved.
To provide you with further assistance I need more information about your scenario. It will be very helpful if you send me an example application that demonstrates the issue. On order to allow you attachments I have moved your topic in our support system.
I am looking forward for your reply.
All the best,
Martin Vasilev
the Telerik team
You are right, I do use AutoGenerateHierarchyFromDataSet = True.
I have to set this at run time. Can you give sample code for setting widths of columns and hiding columns of the Child Grid at run time.
Thanks ... DP