Welcome to BARMAGY Sign in | Join | Help

MultiView control in ASP.NET 2.0

During the past days of ASP.NET 1.1 we used to use multi panels whenever we needed to separate our controls in a specific block and to show/hide the panel whenever needed
now ASP.NET 2.0 provide us with the Multiview control it is used for the same concept with less overhead

here is an example

<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
<asp:View ID="view1" runat="server" >
</asp:View>
<asp:View ID="view2" runat="server"></asp:View>
</asp:MultiView>

and then you can use the following to activate a specific view

MultiView1.SetActiveView(view2);
 

 

Published Saturday, March 31, 2007 5:44 AM by hus

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: MultiView control in ASP.NET 2.0

Saturday, December 12, 2009 10:10 AM by 4f453f

# re: MultiView control in ASP.NET 2.0

Saturday, December 12, 2009 10:10 AM by ultramfhs8d

# re: MultiView control in ASP.NET 2.0

Saturday, December 12, 2009 10:10 AM by 4f453f

# re: MultiView control in ASP.NET 2.0

Saturday, December 12, 2009 10:10 AM by ultramfhs8d

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alexb626
Very nice site! <a href="http://ypxoiea.com/ovyraqv/1.html">is it yours too</a>

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alexb989
Very nice site!  [url=http://ypxoiea.com/ovyraqv/2.html]is it yours too[/url]

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alexd218
Very nice site! is it yours too http://ypxoiea.com/ovyraqv/4.html

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alexc576
Very nice site!

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alex44
Very nice site! <a href="http://ypxoiea.com/ovyraqv/1.html">is it yours too</a>

# Is it yours too

Thursday, January 28, 2010 4:48 PM by alex41
Very nice site!  [url=http://ypxoiea.com/ovyraqv/2.html]is it yours too[/url]

# Cheap viagra

Saturday, January 30, 2010 4:47 PM by Pharmg946
Very nice site!

# Cheap viagra

Saturday, January 30, 2010 5:29 PM by Pharmb38
Very nice site!

# re: MultiView control in ASP.NET 2.0

Thursday, April 29, 2010 12:43 PM by Rigingebygacy
Hi...... post good :)

# re: MultiView control in ASP.NET 2.0

Tuesday, March 22, 2011 7:35 AM by mumUnopeChume
musicl0ver200|lolп»ї OWNED!!!!
 
<a href="http://canadahealths.com/?p=13">clozapine side effects liver</a>

a1syaaqqa

# re: MultiView control in ASP.NET 2.0

Saturday, April 09, 2011 9:57 PM by Sunny
6gqFLa Got it! Thanks a lot again for helping me out!

# re: MultiView control in ASP.NET 2.0

Sunday, April 10, 2011 2:38 PM by Constance
4DT7mw That's the best answer of all time! JMHO

# up to datesomething

Wednesday, June 29, 2011 2:11 AM by affordable car insurance
I am so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that's at the other blogs. Appreciate your sharing this best doc. <a href="http://compareconcerninghave.info/tips-in-getting-essentially-the-most-cost-effective-auto-insurance-offers/">affordable auto insurance</a>       <a href="http://rockrats.org/get-a-cheap-auto-insurance-with-automobile-safety-measures/">low cost auto insurance</a>

# informed

Friday, July 29, 2011 12:44 PM by cheap car insurance michigan
You really make it appear so easy along with your presentation however I find this topic to be actually something that I feel I would by no means understand. It seems too complex and extremely large for me. I'm looking forward on your subsequent publish, I’ll try to get the grasp of it!  <a href="http://michigancarautoinsurance.com/">cheap car insurance michigan</a>

# great

Sunday, October 16, 2011 11:55 PM by auto insurance rates by vehicle
Nice post. I was checking constantly this weblog and I am inspired! Very useful information specially the closing section :) I handle such info much. I used to be seeking this certain info for a very long time. Thank you and best of luck.  <a href="http://topautoinsurancerates.net/">auto insurance rates</a>

# http://www.xrumer.mobi #xrumer

Thursday, January 12, 2012 12:22 AM by edmotqs
HR8  b  YD4 18av    
XZX v    
http://xrumer.biz

What do you think?

(required) 
required 
(required)