
kollam2003
Top achievements
Rank 1
kollam2003
asked on 23 Aug 2008, 06:33 AM
Hai,
How to set the tab strip orientation in codebehind?
Plz reply.
Kollam2003
How to set the tab strip orientation in codebehind?
Plz reply.
Kollam2003
4 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 25 Aug 2008, 12:52 PM
Hi,
Try setting the RadTabStrip orientation in the code behind as shown below.
ASPX:
CS:
Regards
Shinu.
Try setting the RadTabStrip orientation in the code behind as shown below.
ASPX:
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" OnPreRender="RadTabStrip1_PreRender"> |
<Tabs> |
<telerik:RadTab Text="Click"></telerik:RadTab> |
<telerik:RadTab Text="Select"></telerik:RadTab> |
</Tabs> |
</telerik:RadTabStrip> |
CS:
protected void RadTabStrip1_PreRender(object sender, EventArgs e) |
{ |
RadTabStrip1.Orientation = Telerik.Web.UI.TabStripOrientation.VerticalRight; |
} |
Regards
Shinu.
0

kollam2003
Top achievements
Rank 1
answered on 26 Aug 2008, 09:15 AM
Hai,
When i tried with the above i'm getting the error
The type or namespace name 'Web' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
When i tried with the above i'm getting the error
The type or namespace name 'Web' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
0

Shinu
Top achievements
Rank 2
answered on 26 Aug 2008, 09:38 AM
Hi,
Are you using TabStrip for asp.net or asp.net AJAX? If you are using TabStrip for asp.net you can try the following code snippet instead.
CS:
Thanks
Shinu.
Are you using TabStrip for asp.net or asp.net AJAX? If you are using TabStrip for asp.net you can try the following code snippet instead.
CS:
protected void RadTabStrip1_PreRender(object sender, EventArgs e) |
{ |
RadTabStrip1.Orientation = Telerik.WebControls.RadTabStripOrientation.VerticalLeftToRight; |
} |
Thanks
Shinu.
0

kollam2003
Top achievements
Rank 1
answered on 26 Aug 2008, 10:58 AM
Hai,
I'm nt getting it.
I want the tabstrip in straight line.
I'm using the following code only:
<radTS:RadTabStrip id="radTStripEvent" runat="server" font-size="Medium" multipageid="radMulPgEvent"
skin="WebBlue" OnPreRender="radTStripEvent_PreRender">
<Tabs>
<radTS:Tab id="Tab1" runat="server" pageviewid="radPgViewEvent" text="Event Master">
</radTS:Tab>
<radTS:Tab id="Tab2" runat="server" pageviewid="radPgViewEventDetails" text="Event Details">
</radTS:Tab>
</Tabs>
</radTS:RadTabStrip>
I'm nt getting it.
I want the tabstrip in straight line.
I'm using the following code only:
protected void radTStripEvent_PreRender(object sender, EventArgs e) |
{ |
radTStripEvent.Orientation = Telerik.WebControls.RadTabStripOrientation.HorizontalBottomToTop; |
} |
<radTS:RadTabStrip id="radTStripEvent" runat="server" font-size="Medium" multipageid="radMulPgEvent"
skin="WebBlue" OnPreRender="radTStripEvent_PreRender">
<Tabs>
<radTS:Tab id="Tab1" runat="server" pageviewid="radPgViewEvent" text="Event Master">
</radTS:Tab>
<radTS:Tab id="Tab2" runat="server" pageviewid="radPgViewEventDetails" text="Event Details">
</radTS:Tab>
</Tabs>
</radTS:RadTabStrip>