How to hide tabs using Microsoft Internet Explorer WebControls MultiPage WebControl????

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?=, Apr 6, 2004.

  1. Hi

    I’d like to know, whether it is possible to set enabled = false or visible = false on the tabs of the MultiPage WebControl at runtime (check out http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=72&tabindex=2 which is a quite nice control). I understand that the Microsoft® Internet Explorer WebControls are currently not supported but probably somebody else had this problem and knows a solution for this dilemma

    I try something like the following
    ' in declaratio
    Protected WithEvents mpHoriz As Microsoft.Web.UI.WebControls.MultiPag

    ' in cod
    mpHoriz.Controls(0).Visible = Fals

    ' and get the following erro
    runtime exception: System.Exception - Cannot set Visible property on PageView since it is handled by the MultiPage

    Thank you a lot in advance
    Daniel
    =?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?=, Apr 6, 2004
    #1
    1. Advertising

  2. Ok,

    i just set them disabled :)

    Protected WithEvents tsVert As Microsoft.Web.UI.WebControls.TabStrip

    tsVert.Items(0).Enabled = False

    Greetings

    Daniel
    =?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?=, Apr 6, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hhcnRz?=
    Replies:
    8
    Views:
    3,972
    karthik_k_83
    Jul 21, 2005
  2. Replies:
    1
    Views:
    205
    º£Ò»
    Apr 9, 2004
  3. Russ
    Replies:
    8
    Views:
    208
  4. Rex Cho

    Microsoft.Web.UI.WebControls Multipage

    Rex Cho, Nov 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    303
    Rex Cho
    Nov 4, 2005
  5. John Kopanas
    Replies:
    2
    Views:
    290
    Gregory Brown
    Jan 29, 2007
Loading...

Share This Page