This is a migrated thread and some comments may be shown as answers.

How to show NestedViewTemplate as editformview

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lakmal
Top achievements
Rank 2
lakmal asked on 13 Sep 2009, 09:20 AM
Hi,

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

  <NestedViewTemplate>
                    <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?

lakmal

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Sep 2009, 04:58 AM
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.

Thanks
Shinu
Tags
Grid
Asked by
lakmal
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or