How can I support data-binding in a user control (ascx) when I am using Page.LoadControl to load a page into a MultiPage PageView which I am creating at runtime?
The Tabstrip / Load on Demand RadPageView demo does use a datasource but Eval() or Bind() methods are not being used.
I don't want to move my FormView into the user control as there a additional user controls, one for each tab infact. Must I do all my data binding in code-behind and not do anything declaratively in the user controls? If so, is this best placed in the PageView OnLoad event or in an event of my user control?
What I am trying to achieve would make for a great demonstration: A fully-featured tabstrip of pages across a single, two-way databound form in which the code for each tab is stored in seperate files (user controls) instead of a single, large file.
Can you suggest other ways to achieve this?
I also understand that this question is more about data binding in user controls than it is about RadTabStrip however I suspect that anyone using RadMultiPage is likely to have addressed this problem before.
Thanks.
The Tabstrip / Load on Demand RadPageView demo does use a datasource but Eval() or Bind() methods are not being used.
I don't want to move my FormView into the user control as there a additional user controls, one for each tab infact. Must I do all my data binding in code-behind and not do anything declaratively in the user controls? If so, is this best placed in the PageView OnLoad event or in an event of my user control?
What I am trying to achieve would make for a great demonstration: A fully-featured tabstrip of pages across a single, two-way databound form in which the code for each tab is stored in seperate files (user controls) instead of a single, large file.
Can you suggest other ways to achieve this?
I also understand that this question is more about data binding in user controls than it is about RadTabStrip however I suspect that anyone using RadMultiPage is likely to have addressed this problem before.
Thanks.