How to show NestedViewTemplate as editformview

2 posts, 0 answers
  1. lakmal
    lakmal avatar
    76 posts
    Member since:
    Jun 2009

    Posted 13 Sep 2009 Link to this post


    I have grid with tabstrip. I use NestedViewTemplate for that. I want when the user click add new button have to show tabstrip to add new record. Now tabstrip show only expand button.  This is my existing code

                        <asp:Panel runat="server" ID="InnerContainer" CssClass="viewWrap" Visible="false">
                          <telerik:radtabstrip ID="RadTabStrip1" runat="server" SelectedIndex="0" AutoPostBack="true"

    How can i show this tabstrip , when the user click add new link?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Sep 2009 Link to this post

    Hi Lakmal,

    In the above post I can see that you are displaying the TabStrip inside the NestedViewTemplate which will be shown only once you click the expand/collapse button. If you want the Tabstrip to be displayed on clicking the AddNewRecord button I would suggest you to either use a FormTemplate/UserControl edit form. UserControl will be a better solution. You may place the Panel containing the Tabstrip inside a WebUserControl. You can place that UserControl inside the NestedViewTemplate and also you may set the same UserControl as the Insert/Edit form. You may go through the following online demo for getting more details about the UserControl edit form.

Back to Top