Results 1 to 10 of 10

Thread: Tab control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    478

    Tab control

    Does asp.net have tab control other than Ajax?

  2. #2
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Tab control

    you can build one from scratch using CSS alone or JS + CSS or you can use very nice jQuery plugin:
    http://jqueryui.com/demos/tabs/
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Tab control

    The answer to your question is no, not out of the box. A "close" version would be the MultiView Control:

    http://www.codeproject.com/KB/custom...abControl.aspx

    Gary

  4. #4
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Tab control

    hay aspfun,
    simple answer No..
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    478

    Re: Tab control

    Thank you for help.
    I learned from http://www.codeproject.com/KB/custom...abControl.aspx
    and use RadioButtonList and multiview.

  6. #6
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Tab control

    Personally, I use JS to show/hide DIVs with CSS for the graphic work, that way just to switch tabs there's no post back to the server which means less demand on the server plus it's instant for the end user, less irritating on them
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  7. #7
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Tab control

    aspfun,
    be a ware that multiview will not give you a multi tab at the same time, it will be one in the time,
    and more than that it is a server control, which mean that you will request the new tab from the server.
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Tab control

    Quote Originally Posted by aspfun View Post
    Thank you for help.
    I learned from http://www.codeproject.com/KB/custom...abControl.aspx
    and use RadioButtonList and multiview.
    Can you correct the link that you have posted, as it doesn't seem to work.

    Gary

  9. #9
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Tab control

    Quote Originally Posted by avrail View Post
    aspfun,
    be a ware that multiview will not give you a multi tab at the same time, it will be one in the time,
    and more than that it is a server control, which mean that you will request the new tab from the server.
    This is true, however, you have to weigh this up. If you are just using client side code to show and hide divs, you have to understand that everything has to be sent down to the client initially. Meaning that the initial page load might take longer. What you have to also understand is that people might not actually look at all the tabs, so you might be sending stuff to the client that isn't needed.

    Gary

  10. #10
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Tab control

    Quote Originally Posted by gep13 View Post
    This is true, however, you have to weigh this up. If you are just using client side code to show and hide divs, you have to understand that everything has to be sent down to the client initially. Meaning that the initial page load might take longer. What you have to also understand is that people might not actually look at all the tabs, so you might be sending stuff to the client that isn't needed.

    Gary
    agreed, but i was just want him to understand the fact that the multi view will not give his page something like tabs
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width