Telerik
Home / Community / Forums / RadControls for ASP.NET: Tabstrip / TabStrip & Multipage inside FormView

TabStrip & Multipage inside FormView

Feed from this thread
  • Andrea avatar

    Posted on Apr 21, 2007 (permalink)

    Hello

    I've got a FormView which spans over multiple tabs/ multiple PageViews.
    Everything works fine (e.g. I can switch the tabs).
     But after hitting the "update"-button of the FormView, I can only see the TabStrip, but no controls (inside the MultiPage) anymore.

    Note: I don't create the tabs programmatically.

    Any ideas?

    My code looks like this:

    <asp:FormView ID="fvwDetail" runat="server" DataKeyNames="ContactID" DataSourceID="datasourceContact" DefaultMode="Edit" OnItemUpdating="fvwDetail_ItemUpdating" OnItemCreated="fvwDetail_ItemCreated" OnItemUpdated="fvwDetail_ItemUpdated">

    <EditItemTemplate>

    <radts:radtabstrip id="radTabStrip" runat="server" multipageid="radMultiPage" CausesValidation="False"><Tabs>

    <radTS:Tab runat="server" Text="Main" ID="tabMain"></radTS:Tab>

    <radTS:Tab runat="server" Text="Employer" ID="tabEmployer"></radTS:Tab>

    </Tabs>

    </radts:radtabstrip>

    <radTS:RadMultiPage ID="radMultiPage" runat="server">

    <radTS:PageView ID="pageMain" runat="server">
    ... controls ...

    </radTS:PageView>

    <radTS:PageView ID="pageEmployer" runat="server">
    ... controls ...

    </radTS:PageView>

    </radTS:RadMultiPage>

    <asp:Button ID="btnSave" runat="server" Text="Update" CssClass="btnSubmit" CommandName="Update" />

    </EditItemTemplate>

    </asp:FormView>

    Reply

  • Jabeer avatar

    Posted on Apr 23, 2007 (permalink)

    Hi friends,

    I have create the Website with the RAD TAb strip Under this i have create the RAD Multipage and under that i have created pageview. Now the problem is under the pageview  ihave formview. Which is not even visible when i link the multipage with the Tabstrip. I can i do that.

    Regards,
    A Jabeer Ali

    Please reply me as soon as possible.


    Reply

  • Johan Master avatar

    Posted on Apr 23, 2007 (permalink)

    I believe the problem discussed in this forum thread is very similar to the ones you both are having

    The forum thread is here:
    http://www.telerik.com/community/forums/thread/b311D-tmmbm.aspx

    Even though the control in question there is asp:repeater, I believe the same problem is exposed for FormView as well. Just set both the multipage and tabstrip selected indices with code-behind as demonstrated in the code sample in this forum thread.

    Reply

  • Jabeer avatar

    Posted on Apr 23, 2007 (permalink)

    Hello Andreas,
     My Problem is not the one.

    <radTS:RadTabStrip id="Menu1" runat="server" width="100%" __designer:dtid="1688849860264008" onclientmouseover="Menu1_MenuItemClick" multipageid="MultiProjectView" ontabclick="Menu1_TabClick"> <radTS:RadTabStrip ID="Menu1" runat="server" Width="100%" OnClientMouseOver="Menu1_MenuItemClick" MultiPageID="MultiProjectView" OnTabClick="Menu1_TabClick">
                                                                         
                    </radTS:RadTabStrip>
                    </td>

    <radTS:RadMultiPage id="MultiProjectView" runat="server" SelectedIndex=0 >
    <radTS:PageView id="Project1" runat="server">
    <formview>
    Content
    </formview>
    </radTS:PageView>

    <radTS:PageView id="Project2" runat="server">
    <formview>
    Content
    </formview>
    </radTS:PageView>
    <radTS:PageView id="Project3" runat="server">
    <formview>
    Content
    </formview>
    </radTS:PageView>

    <radTS:PageView id="Project4" runat="server">
    <formview>
    Content
    </formview>
    </radTS:PageView>

    </radTS:MultipageView>

    When i run the program the Formview Content is not visible to me. and when the InsertItemTemplate is activated the RadTabStrip is disabled.

    Please advice me on the above problem.
    Regards,
    A Jabeer Ali

    Reply

  • Telerik Admin admin's avatar

    Posted on Apr 23, 2007 (permalink)

    Hi Jabeer,

    Unfortunately, the provided info is not enough for us to find or solve the problem you are facing. We need a simple running project (not just a code snippet or a separate file) so that we can reproduce and pinpoint the problem on our side, understand the logic of your application and provide a solution.

    Sorry for the additional mail loop required, but without further info we cannot be of much assistance.

    I suggest you open a support ticket and send us a simple running project along with the skin used (CSS, images, DB backup and so on). The project should be zipped and attached to the support ticket.

    Greetings,
    Paul
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Jabeer avatar

    Posted on Apr 23, 2007 (permalink)


    I have attached the Whole code of my project. What i want is it multipage should automatically pop up when i click on the Tab strip content.here Tab content  is generated Dynamically. The Pageview 1 to 4 is not displaying which has the form view. i want to know whether the Tab strip support the formview.

    Regards,
    A Jabeer Ali

    The Problem is

    Reply

  • Johan Master avatar

    Posted on Apr 23, 2007 (permalink)

    Please, check out my answer to your question in the following forum thread, because I believe both problems are related (it appears that you are using a beta or CTP version of MS Atlas (now known is MS AJAX Extensions).

    More details and suggestions how to workaround the problem can be found here:
    http://www.telerik.com/community/forums/thread/b311D-thdbe.aspx

    Reply

  • Jabeer avatar

    Posted on Apr 23, 2007 (permalink)

    I have change the name atlas in my web config for some other problem . i hope that is not the problem form my knowledge.
    Regards,
    A Jabeer Ali

    Reply

  • Jabeer avatar

    Posted on Apr 23, 2007 (permalink)

    The Concept is working fine. Thanks for that and i have one more issue. Please help.I have master page and i calling the content Place Holder. The thing is not working for that. Please advice me

    Regards,
    A Jabeer Ali

    Reply

  • Jabeer avatar

    Posted on Apr 24, 2007 (permalink)

    Hi,

    I have design my project with the master page and contentplaceholder.In the contentplaceholder im using the ajaxpanel and inside that i have the formview. The formview is not visible for me. Please advice me to resolve the problem.

    Regards,
    A Jabeer Ali

    Reply

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2009 Telerik. All rights reserved.