Hello There,
Let me start by saying I have done extensive searching regarding this issue and the items that I found weren't relevant to me or didn't seem to work. My issue is that I have a <UserControl> that I would like to dynamically add to the <NestedViewTemplate> of a RadGrid. The problem is that if I include the UserControl markup inside the NestedViewTemplate, it fires the UserControl events for each row within the RadGrid. I would like to "Lazy" Load the UserControl upon the User Expanding a row within the RadGrid. I have read examples of wrapping the UserControl inside an <asp:Panel> and toggling the Panels visibility property, but that doesn't seem to work.
Could you please give an example of how to do this or a link to an article where this has been accomplished?
I've tried loading the UserControl dynamically, but it then loses the RadGrid's DataBinding Container and the controls inside the UserControl are no longer bound.
Thanks for you help in advance and I look forward to your response.
Chris
Let me start by saying I have done extensive searching regarding this issue and the items that I found weren't relevant to me or didn't seem to work. My issue is that I have a <UserControl> that I would like to dynamically add to the <NestedViewTemplate> of a RadGrid. The problem is that if I include the UserControl markup inside the NestedViewTemplate, it fires the UserControl events for each row within the RadGrid. I would like to "Lazy" Load the UserControl upon the User Expanding a row within the RadGrid. I have read examples of wrapping the UserControl inside an <asp:Panel> and toggling the Panels visibility property, but that doesn't seem to work.
Could you please give an example of how to do this or a link to an article where this has been accomplished?
I've tried loading the UserControl dynamically, but it then loses the RadGrid's DataBinding Container and the controls inside the UserControl are no longer bound.
Thanks for you help in advance and I look forward to your response.
Chris