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

Can't load the control which are inside the contentpane

1 Answer 20 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Kannan
Top achievements
Rank 1
Kannan asked on 29 Apr 2010, 02:00 PM
Hai this my codebehind code for the homepage.aspx
      While i am loading the page i couldn't view the controls which are inside the contentpane.so anyone  review the below code and give me the solution for that problem.
Reply immediately....
--------------------------------------------------------------------------------------------------------------------------------------------------------------
<telerik:RadPane runat="server" ID="contentPane" BorderStyle="None">
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Height="25px" 
             MultiPageID="mpLogin" SelectedIndex="0" Width="100%">
             <Tabs>
                 <telerik:RadTab runat="server" Text="Member" Selected="True">
                 </telerik:RadTab>
                 <telerik:RadTab runat="server" Text="Employee">
                 </telerik:RadTab>
             </Tabs>
         </telerik:RadTabStrip>
         <telerik:RadMultiPage ID="mpLogin" Runat="server" SelectedIndex="0">
             <telerik:RadPageView ID="pvMember" runat="server">
                 <table>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="lblName" runat="server" Text="User Name"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtUserName" Runat="server" AutoCompleteType="Search" 
                                 SelectionOnFocus="SelectAll" TabIndex="1" Width="125px">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtPassword" Runat="server" 
                                 SelectionOnFocus="SelectAll" TabIndex="2" TextMode="Password">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" colspan="2">
                             <asp:CheckBox ID="chkStay" runat="server" TabIndex="4" Text="Stay Signed In" />
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             &nbsp;</td>
                         <td>
                             <asp:Button ID="btnOk" runat="server" onclick="btnOk_Click" 
                                 OnClientClick="return FormValidateM();" TabIndex="5" Text="Ok" Width="58px" />
                         </td>
                     </tr>
                 </table>
             </telerik:RadPageView>
             <telerik:RadPageView ID="pvEmployee" runat="server">
                 <table>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="Label1" runat="server" Text="User Name"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtUserName_E" Runat="server" AutoCompleteType="Search" 
                                 SelectionOnFocus="SelectAll" TabIndex="1" Width="125px">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtPassword_E" Runat="server" 
                                 SelectionOnFocus="SelectAll" TabIndex="2" TextMode="Password">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" colspan="2">
                             <asp:CheckBox ID="chkStay_E" runat="server" TabIndex="4" 
                                 Text="Stay Signed In" />
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             &nbsp;</td>
                         <td>
                             <asp:Button ID="btnOk_E" runat="server" onclick="e_btnOK_Click" 
                                 OnClientClick="return FormValidateE();" TabIndex="5" Text="Ok" Width="58px" />
                         </td>
                     </tr>
                 </table>
             </telerik:RadPageView>
         </telerik:RadMultiPage>
</telerik:RadPane>

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 May 2010, 09:31 AM
Hi kannan,

The code snippet you have provided is not code-behind but markup code and it is also not fully runnable. As you know, a RadPane control cannot be placed directly on a page but only in a RadSplitter control. That is why to test I added a parent splitter of the pane and another pane and tested the page but everything worked as expected. Please, examine my test page I attached for your convenience and reference and in case the issue persists, modify it in order to reproduce the problem and share the markup here. Once I am able to examine the problem locally I will do my best to help.


Greetings,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Splitter
Asked by
Kannan
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or