Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2006, 02:02 PM
Authorized User
 
Join Date: Feb 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default MultiView controls?

Hello - I'm working on my first ASP.NET app (v2.0, using VWD 2005)

I was going to develop the data maintenance pages as Master-Detail pairs (separate GridView & FormView pages), but now, I see this MultiView thang.

What's the common wisdom on MultiView controls? Is there a clear advantage to using them, over Master-Detail page pairs?

It would seem to make for a pretty busy page, if a MultiView control, with multiple View controls, is sitting in a ContentPlaceHolder control???

Thanks

Mark

 
Old March 8th, 2006, 02:24 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Mark,

You could use a MultiView for master detail scenario's if you want to. Basically a MultiView is a useful control for something that developers previously did a lot with Panels. You had two (or more) panels, and then, for example when you want to add or edit an item, you'd hide one panel, and then show the other. When you were done editing, you reversed the visibility of the panels.

The MultiView works similar to that, but it can only show one active View at a time. So, when you display the details, you can't show the grid and vice versa. If that's OK, then a MultiView is useful; otherwise, you can use a Panel, other logic / controls or separate pages...

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 8th, 2006, 02:57 PM
Authorized User
 
Join Date: Feb 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok - thanks again, Imar

Mark






Similar Threads
Thread Thread Starter Forum Replies Last Post
session value not showing in Multiview Hughesie78 ASP.NET 2.0 Professional 0 May 12th, 2008 11:52 AM
User controls' content: Chapter 2 User Controls AGS BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 10 July 26th, 2007 05:36 AM
MultiView and Back Button Ardvisoor ASP.NET 2.0 Professional 0 July 18th, 2006 06:20 AM
Controls dparsons VB.NET 2002/2003 Basics 1 October 19th, 2005 11:08 AM
Controls Natalie Beginning VB 6 6 September 12th, 2003 10:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.