Tab clones(error!!!)

1 posts, 0 answers
  1. Kazakov
    Kazakov avatar
    1 posts
    Member since:
    Jul 2012

    Posted 18 Jul 2012 Link to this post

    Hello, all! I had a problem with RadTabStrip. I create a Tab on the client-side by means of a method:

                function addNewTab(id) {
                    var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
                    var tab = tabStrip.findTabByValue(id);
                    if (!tab) {
                       tab = new Telerik.Web.UI.RadTab();
                         var tabName = "Message №" + id;

                           var multiPage = $find("<%= RadMultiPage1.ClientID %>");
                       var pageViewId = multiPage.findPageViewByID("<%= pageViewDetal.ClientID %>");

    Everything is created correctly (i.e. the Tab is created, the value transferred by me is specified for it and PageView is attached to it) but as soon as on page there is PostBack, all created Tabs are cloned, i.e. each Tab created by me has 2 clones, but without the specified value and not attached to PageView, and Tab with the same title is simple.

    Creation of clones occurs without the aid of my function. You couldn't prompt the reason of such behavior of the RadTabStrip component and how it is corrected?

Back to Top