Tab positioning

7 posts, 0 answers
  1. Steve Y
    Steve Y avatar
    115 posts
    Member since:
    Sep 2008

    Posted 21 Feb 2009 Link to this post

    Now that TabBaseLine="true" has been introduced (in 2009 Q1), I would like to propose another way to get finer control for tab layouts/positioning. Currently it's possible to align left, right, centered and justified. The tabbaseline extends the control's visual nicely to the right, left or both depending on the alignment chosen. I want to be able to set the starting tab position (or gap if you like) on the left or right depending on alignment wanted.

    So. A left start position of 12px with a left alignment would have a TabBaseLine of 12px before the Tabs actually started (or if no baseline specified, a blank gap of 12px). The same for a right start position of, e.g 15px for right alignment. If justified, a (seperate) left gap and right gap would be enabled. An alignment of center would also allow an offset on one side or ther other to be taken into account.

    Thanks and regards,
    Steve
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 23 Feb 2009 Link to this post

    Hi Steve Y,

    I guess you can easily achieve your goal using separator tabs with fixed width.

    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steve Y
    Steve Y avatar
    115 posts
    Member since:
    Sep 2008

    Posted 24 Feb 2009 Link to this post

    Hi Paul,

    Thanks for your reply. This would indeed be the answer if I could get it to work. I've tried using the current Beta and the previous 2008 Q3 release. Here's what I have.

    <Telerik:RadTabStrip ID="RadTabStrip1" runat="server"
        <Tabs> 
            <Telerik:RadTab runat="server" Text="tab1" /> 
            <Telerik:RadTab runat="server" Text="tab2" /> 
            <Telerik:RadTab runat="server" IsSeparator="true" Width="20px" /> 
            <Telerik:RadTab runat="server" Text="tab3" /> 
            <Telerik:RadTab runat="server" Text="tab4" /> 
        </Tabs> 
        </Telerik:RadTabStrip> 

    What I get is just the four tabs with no separator.

    What am I doing wrong?

    Thanks, Steve
  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 25 Feb 2009 Link to this post

    Hello Steve Y,

    Yes, this is a bug in the beta and it will be addressed in the final release.

    Sincerely yours,
    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.
  6. Stephen
    Stephen avatar
    70 posts
    Member since:
    Mar 2008

    Posted 26 Mar 2009 Link to this post

    Was this ever fixed?  I still don't see a separator between tabs.
  7. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 26 Mar 2009 Link to this post

    Hi Stephen,

    Indeed, you are right; this fix will be included in the next internal build. Please excuse us for the inconvenience we might have caused you.

    Best wishes,
    Paul
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  8. Stephen
    Stephen avatar
    70 posts
    Member since:
    Mar 2008

    Posted 26 Mar 2009 Link to this post

    Thanks for the quick reply.  I was fortunately able to work around it by modifying the skin.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017