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

Dynamically binding the tabs to the grid.

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Asra
Top achievements
Rank 1
Asra asked on 25 May 2009, 09:36 AM
Hi All, 
            Iam dynamically binding the grid in the code behind. I have one Grid, inside that i have Tabcontorl with tabs and multipage view.  I am adding a gridview to the pageview.  I can not see the rendered gridview on the screen, however if I view the source from the browser I am able to see that the gridview was writted to the browser.  How can I fix this so I will be able to view the gridView?




 <telerik:RadGrid ID="RadGrid1" runat="server" Width="95%" ShowStatusBar="true" 
            AutoGenerateColumns="true" PageSize="7" AllowSorting="True" AllowMultiRowSelection="False" 
            AllowPaging="True"  OnItemCreated="RadGrid1_ItemCreated">  
             
            <MasterTableView Width="100%" DataKeyNames="CustomerID" AllowMultiColumnSorting="True" AutoGenerateColumns="true" > 
                <NestedViewTemplate> 
                    <asp:Panel runat="server" ID="InnerContainer" CssClass="" Visible="true">  
                        <telerik:RadTabStrip runat="server" ID="TabStip1"   
                            SelectedIndex="0" OnLoad="TabStip_OnLoad" MultiPageID="Multipage1" > 
                          <Tabs> 
                                <telerik:RadTab runat="server" Text="Sales" PageViewID="PageView1">  
                                </telerik:RadTab> 
                                <telerik:RadTab runat="server" Text="Contact Information" PageViewID="PageView2">  
                                </telerik:RadTab> 
                                <telerik:RadTab runat="server" Text="Statistics Chart" PageViewID="PageView3">  
                                </telerik:RadTab> 
                           </Tabs> 
                        </telerik:RadTabStrip> 
                          
                          
                         <telerik:RadMultiPage runat="server" ID="Multipage1"  RenderSelectedPageOnly="false" SelectedIndex="0">  
                              
                        <telerik:RadPageView runat="server" ID="PageView1">  
                           
                                 <telerik:RadGrid runat="server" ID="OrdersGrid" AutoGenerateColumns="false" 
                                    ShowFooter="true" AllowSorting="true" EnableLinqExpressions="false">  
                                    <MasterTableView ShowHeader="true" AutoGenerateColumns="false" AllowPaging="true" 
                                        PageSize="7" DataKeyNames="EmployeeID">  
                                        <Columns> 
                                        <telerik:GridBoundColumn  DataField="OrderId" UniqueName="OrderID" HeaderText="OrderID"></telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn  DataField="EmployeeID" UniqueName="EmployeeID" HeaderText="EmployeeID"></telerik:GridBoundColumn> 
                                              
                                        </Columns> 
                          </MasterTableView> 
                          </telerik:RadGrid> 
                           
          </telerik:RadPageView> 
           
          </telerik:RadMultiPage> 
       </asp:Panel> 
      </NestedViewTemplate> 
    </MasterTableView> 
  </telerik:RadGrid> 

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 28 May 2009, 07:47 AM
Hello Asra,

This may be an issue with the way the control is built and dynamically added. However, to be able to properly track the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your approach, and the issue at hand. We will review it locally, and advise you further.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Asra
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or