This is a migrated thread and some comments may be shown as answers.
want to display "RadGrid" in "RadTabStrip" which will be in "RadPane"
2 Answers 38 Views
This is a migrated thread and some comments may be shown as answers.
Simon Maystre
Top achievements
Rank 1
Simon Maystre asked on 04 Nov 2011, 01:52 PM
Hi Telerik Team,

Can anyone help me on my below query:

I want to display "RadGrid" in "RadTabStrip" which will be in "RadPane" of "RadSplitter" control.
i have done this but i cant see the Grids in "RadTab".
Please provide me the proper code.

Thanks and Regards,
Simon.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 07 Nov 2011, 12:33 PM
Hello Simon,

You can try the following code.
aspx:
<telerik:RadSplitter ID="RadSplitter1" runat="server">
   <telerik:RadPane ID="RadPane1" runat="server">
       <telerik:RadTabStrip ID="RadTabStrip1" MultiPageID="RadMultiPage1" runat="server">
          <Tabs>
             <telerik:RadTab Text="Tab1" PageViewID="RadPageView1">
             </telerik:RadTab>
          </Tabs>
       </telerik:RadTabStrip>
  <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
    <telerik:RadPageView ID="RadPageView1" runat="server">
      <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="true">
      </telerik:RadGrid>
    </telerik:RadPageView>
   </telerik:RadMultiPage>
  </telerik:RadPane>
</telerik:RadSplitter>

Thanks,
Princy.
0
Dobromir
Telerik team
answered on 07 Nov 2011, 04:43 PM
Hi guys,

The samlpe that Princy posted is OK, except for one not so minor mistake. RadSplitter with a single pane is not supported configuration and it may cause unexpected behavior of the splitter control. In this simple scenario I was not able to observe any side effects but it is not recommended to use the splitter in such configuration.

Greetings,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Asked by
Simon Maystre
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or