|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do I restrict webpart usage to a single instance on a page?I need a way to restrict users from placing multiple instances or copies of a
webpart on the same page. How do I do this? >I need a way to restrict users from placing multiple instances or copies of You will need to check yourself.>a > webpart on the same page. How do I do this? When added to page, talk to WebPartManager to look for all WebParts on the page. Check if there are more than one WebParts of your type (GetType())... if so, report an error in your display. You may also want to add design time support. -- Happy Hacking, Gaurav Vaish | http://www.mastergaurav.com http://www.edujinionline.com http://articles.edujinionline.com/webservices -------------------
Using ASP.NET 2.0's ImageMap Control
Uploading big files GridView Update Not Working GridView Nested - Is it Possible? missing ellipsis in editor asp.net 2 report problem with 3-tier design How to use Socket Connection ASP.Net 2.0 Validation Groups & IValidator Controls. UserControls in a different directory Authentication in ASP.NET 2.0 |
|||||||||||||||||||||||