set border for rad tab page

3 posts, 1 answers
  1. Chap
    Chap avatar
    18 posts
    Member since:
    Oct 2012

    Posted 30 Oct 2012 Link to this post

    How do I add a border like attach image to radtab? do I need to use custom css or are there any inbuilt features provide this facility 
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Oct 2012 Link to this post

    Hi,

    Try the following code to achieve your scenario.

    ASPX:
    <telerik:RadTabStrip ID="RadTabStrip3" runat="server" MultiPageID="RadMultiPage2"  Style="position: relative; z-index: 1000" SelectedIndex="0"
     <Tabs>
       <telerik:RadTab runat="server" Text="Root RadTab1" Selected="True"
       </telerik:RadTab>
       <telerik:RadTab runat="server" Text="Root RadTab2"
       </telerik:RadTab>
     </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage2" runat="server" BorderColor="DarkGray" BorderStyle="Solid" BorderWidth="1px" CssClass="mystyle" SelectedIndex="0"
      <telerik:RadPageView ID="RadPageView4" runat="server"
        <div
          RadPageView1 
        </div>
      </telerik:RadPageView>
      <telerik:RadPageView ID="RadPageView5" runat="server"
         <div
           RadPageView2</div>
         </telerik:RadPageView>
    </telerik:RadMultiPage>

    CSS:
    <style type="text/css"
     .mystyle 
     
      margin-top: -2px
      padding: 3px
     
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Chap
    Chap avatar
    18 posts
    Member since:
    Oct 2012

    Posted 30 Oct 2012 Link to this post

    thanks works well
Back to Top