470,647 Members | 1,188 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

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

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/Co...=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
Nov 18 '05 #1
2 2836
Ok,

i just set them disabled :-)

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

tsVert.Items(0).Enabled = False

Greetings

Daniel
Nov 18 '05 #2
Ok,

i just set them disabled :-)

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

tsVert.Items(0).Enabled = False

Greetings

Daniel
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by sudha | last post: by
2 posts views Thread by Rob | last post: by
12 posts views Thread by Joe | last post: by
reply views Thread by Dennis | last post: by
1 post views Thread by Brett Wesoloski | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.