Hello,
I set webtab.tab.contentpaneurl as a embedded usercontrol"s url (this is virtual url, normally i can load my usercontrol with that url). But when I try get webtab.tab.contentpane.usercontrol, it always return null.
Is there any method to do this?
Hi,
If application calls ContentPane.UserControl and UserControlUrl is set, then reference to Control should be returned. Implementation of that method includes request to UltraWebTab to create all child controls including templates. If it fails and null is returned, then there is probably exception due to timing or other issue.
In order for that property to work all should be created in the aspx. If tabs and their contents are created dynamically, then at the time of call to that property the ContentPane should belong to Tab, tab should belong to Tabs, Tabs should belong to UltraWebTab and UltraWebTab should be added to Controls of form.