I create new WebSite named UseWebPart ( sample from Ms Press Book)
next steps:
Add WebPartManagerI O , WebPartZone, EditorZone & CatalogZone, etc etc etc
if i am running this sample under VisualStudio 2005 IDE all modes ( Browse,
Design, Edit, Catalog )
are operational.
Next step, configure WebSita (Users from Lan, anonymous)
and Publish Web Site
Now im closed IDE VisualStudio
configure IIS:
create in default web site , create application and configure to use asp
2.0.50727
Restart IIS
in IE Browser address
http://localhost/notki/ ( Notki it is a folder C:\Inetpub\wwwr oot\Notki
with My App)
Only BrowseDisplayMo de i have to use :( & ???
This code reports it.
Dim _wpManager As WebPartManager
Me._wpManager = WebPartManager. GetCurrentWebPa rtManager(Me)
For Each mode As WebPartDisplayM ode In _wpManager.Supp ortedDisplayMod es
Dim modeName As String = mode.Name
Console.Write(m odeName)
I'm novice in ASP2 .Net
Please Help me ... .... ....
Best regards
Andy