Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
WebTab Controls is empty ?
posted

Hi,

there is a WebTab with ContentUrl and EnableLoadOnDemandUrl = True, page is loadet and content of the tab is showed. Then a make a postback, but the Property WebTab.Tabs(WebTab.SelectedIndex).Controls.Count = 0, i think because content is placed in an iframe.

Is it possible to get the reference to controls stored in the tab ?

Parents
No Data
Reply
  • 49378
    posted

    Hello pobo011,

    In this scenario it would not be possible to access the controls from the content page as, as you have noted, these are loaded on demand and are rendered in an iframe on the client as a separated document. If possible in this scenario, I would suggest considering using a UserControl, as it will be instantiated in the tab item's control collection:

    http://es.infragistics.com/community/forums/p/71790/390927.aspx

     

    Please do not hesitate to contact me if you have any questions.

Children