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
LoadOnDemand and dynamically added WebTabItems
posted

Hi,

I have a WebTab control and add dynamically some tabs. Only first tab has content on initial stage, another tabs are empty. It is possible to load content on TabChanging with Ajax (without LoadOnDemandUrl and iframes) ?

Parents
No Data
Reply
  • 37874
    posted

    Hello pobo001,

    You could add new tab for example on button click, like this:

    <asp:Button ID="Button1" Text="Add tab" runat="server" OnClientClick="addTab(); return false;" />

     function addTab() {
        var webTab = $find("WebTab1");
        webTab.addTab("Infragistics", "http://ko.infragistics.com");
    }

    Let me know if this helps.

Children