TabStrip Text

3 posts, 0 answers
  1. Ugarovesk Uga
    Ugarovesk Uga avatar
    3 posts
    Member since:
    Jul 2009

    Posted 08 Jul 2009 Link to this post

    How can I to do something like:


    <

     

    Tabs>

     

     

    <telerik:RadTab Text="<%= Resources.Labels.GeneralText %>">

     

     

    </telerik:RadTab>


    Thanks.

     

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 08 Jul 2009 Link to this post

    Hi Ugarovesk ,

    Please find below a sample code snippet that shows the needed approach.

    <html xmlns="http://www.w3.org/1999/xhtml"
    <head id="Head1" runat="server"
        <title>Untitled Page</title> 
    </head> 
    <body> 
        <form id="form1" runat="server"
        <telerik:RadScriptManager ID="rSM" runat="server"
        </telerik:RadScriptManager> 
        <div> 
            <telerik:RadTabStrip ID="rtabsUserAccount" runat="server" Width="600" MultiPageID="RadMultiPageMain"
                <Tabs> 
                    <telerik:RadTab Text='<%# Resources.Resource.Tab1 %>' PageViewID="RadPageViewAccountDetails" /> 
                    <telerik:RadTab Text='<%# Resources.Resource.Tab2 %>' PageViewID="RadPageViewAccountCreator" /> 
                </Tabs> 
            </telerik:RadTabStrip> 
            <telerik:RadMultiPage ID="RadMultiPageMain" runat="server" SelectedIndex="0"
                <telerik:RadPageView ID="RadPageViewAccountDetails" runat="server"
                    <p> 
                        &nbsp;</p> 
                    This is AccountDetails View 
                </telerik:RadPageView> 
                <telerik:RadPageView ID="RadPageViewAccountCreator" runat="server"
                    <p> 
                        &nbsp;</p> 
                    This is AccountCreator View 
                </telerik:RadPageView> 
            </telerik:RadMultiPage> 
            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Resources.Resource.Tab1 %>'></asp:TextBox> 
            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Resources.Resource.Tab2 %>'></asp:TextBox> 
        </div> 
        </form> 
    </body> 
    </html> 
     

     protected void Page_Load(object sender, EventArgs e) 
        { 
            this.rtabsUserAccount.DataBind(); 
            TextBox1.DataBind()
            TextBox2.DataBind()
        } 
     


    Greetings,
    Paul
    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.
  3. Ugarovesk Uga
    Ugarovesk Uga avatar
    3 posts
    Member since:
    Jul 2009

    Posted 08 Jul 2009 Link to this post

    Thank you for y replay. But the text cant be showed. I'm using ASP.NET MVC.


    Thanks
Back to Top