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

How to assign Rad TabStrip Text using Inline code

1 Answer 55 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Con Raducanu
Top achievements
Rank 1
Con Raducanu asked on 15 Apr 2009, 02:41 AM

<telerik:RadTabStrip ID="rtabsUserAccount" runat="server" Width="600" MultiPageID="RadMultiPageMain">  
 
        <Tabs> 
 
            <telerik:RadTab Text="<%=Resources.Common.AccountDetails%>" PageViewID="RadPageViewAccountDetails" /> 
 
            <telerik:RadTab Text="<%=Resources.Common.CreatorOwner%>" PageViewID="RadPageViewAccountCreator" /> 
 
        </Tabs> 
 
    </telerik:RadTabStrip> 
 
Does anybody knows why the above code does not works. When I load mt web form the tab strip Text is empty!

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 15 Apr 2009, 08:10 AM
Hello Con,

Please find below your modified code snippet that should work as expected.

ASPX:
<telerik:RadTabStrip ID="rtabsUserAccount" runat="server" Width="600" MultiPageID="RadMultiPageMain">  
    <Tabs> 
        <telerik:RadTab Text='<%#Resources.Common.AccountDetails%>' PageViewID="RadPageViewAccountDetails" /> 
        <telerik:RadTab Text='<%#Resources.Common.CreatorOwner%>' PageViewID="RadPageViewAccountCreator" /> 
    </Tabs> 
</telerik:RadTabStrip> 

Code-behind:
protected void Page_Load(object sender, EventArgs e)  
{  
    rtabsUserAccount.DataBind();  

All the best,
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.
Tags
TabStrip
Asked by
Con Raducanu
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or