|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Is MultiView the same as a TabStrip in ASP.NET 2.0?I wanted easy tabs for my webpage and saw the new MultiView. I read
and couldn't tell, but is the MultiView the same as having tabs? Or does MultiView bring everything at once and the user just selects it (a tab?) Thank you. In v1.x if you wanted to hide/show sections of the page a Panel was one way
to go about it, but you had to write the code to manage that. The MultiView is essentially a control that does the equivalent of Panel management for you. The TabStrip was removed after Beta2, IIRC (maybe it was Beta1). -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > I wanted easy tabs for my webpage and saw the new MultiView. I read > and couldn't tell, but is the MultiView the same as having tabs? Or > does MultiView bring everything at once and the user just selects it > (a tab?) > > Thank you. > So how do most developers accomplish tabs? The "old" way with a
graphical tab and a div underneath, or, gasp, a frame? Thanks again. > So how do most developers accomplish tabs? The "old" way with a You'd do it the "old" way :)> graphical tab and a div underneath, or, gasp, a frame? Thanks again. Whenever there's a postback or link, then code in your page would have to tell the MultiView what the current index is. -Brock DevelopMentor http://staff.develop.com/ballen I don't understand why there is not an easy way to do tabs. They're
everywhere on the Internet. Have you tried out the new Wizard control? That is a bunch of MultiViews
wired together. One thing I discovered is MultiViews can not be nested which IMO is a crippled implementation that hampers the ability to develop non-linear views. As for "tabs" I've been using styled LinkButtons. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/ <needin4mat***@gmail.com> wrote in message Show quoteHide quote news:1135790708.858736.245750@g49g2000cwa.googlegroups.com... >I wanted easy tabs for my webpage and saw the new MultiView. I read > and couldn't tell, but is the MultiView the same as having tabs? Or > does MultiView bring everything at once and the user just selects it (a > tab?) > > Thank you. > Not public yet. Its not too difficult but is a bit noisy to keep track of
properties in code.... #region SelectedHeaderTab Method... private void SelectedHeaderTab(string selectedTab) { switch (selectedTab) { case "HeaderTabSiteMap": // name of LinkButton HeaderTabSiteMap.Enabled = false; HeaderTabSiteMap.CssClass = "HeaderTopRowSelectedTab"; HeaderTabSoftware.Enabled = true; HeaderTabSoftware.CssClass = "HeaderTab"; HeaderTabsBottomRowPanel.Visible = false; Session["SelectedHeaderTab"] = "HeaderTabSiteMap"; break; case "HeaderTabSoftware": // name of LinkButton HeaderTabSiteMap.Enabled = true; HeaderTabSiteMap.CssClass = "HeaderTab"; HeaderTabSoftware.Enabled = false; HeaderTabSoftware.CssClass = "HeaderTopRowSelectedTab"; HeaderTabsBottomRowPanel.Visible = true; Session["SelectedHeaderTab"] = "HeaderTabSoftware"; break; default: HeaderTabSiteMap.Enabled = true; HeaderTabSiteMap.CssClass = "HeaderTab"; HeaderTabSoftware.Enabled = true; HeaderTabSoftware.CssClass = "HeaderTab"; break; } } #endregion <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/ <needin4mat***@gmail.com> wrote in message Show quoteHide quote news:1135794591.664140.158310@f14g2000cwb.googlegroups.com... > Do you have an example online of your styled LinkButtons? >
Other interesting topics
Application_Start Question
Resources and class libraries ViewState: why? Querying Indexing Services from ASP.Net page Using Validation controls to check for NON NUMERIC input. (This should be easy!) Help: Why <mobile:label> doesn't render HTML tag? Allow multiple image swap onmouseover DataGrid ASP.NET 2.0 ICallbackEventHandler Login Control used with existing database |
|||||||||||||||||||||||