<a href="http://www.micropoll.com/akira/mpview/585320-168921">Click Here for Poll</a><a href="http://www.questionpro.com" title="online surveys">Online Survey</a><BR> | <a href="http://www.micropoll.com" title="Website Polls">Website Polls</a><BR> | <BR><a href="http://www.micropoll.com/akira/MicroPoll?mode=html&id=168921">View MicroPoll</A></div>

Visual Studio 2010!

Read now >

Windows Mobile Development Thoughts

Read now >

View Now
DevSource RSS FEEDS
XML Want an easy way to keep up with breaking tech news? And the Get DevSource headlines delivered to your desktop with RSS.
ADVERTISEMENT
ADVERTISEMENT

 

DevSource.com: Your Source for Visual Studio on Facebook
ADVERTISEMENT
Combining WebParts and Master Pages
By John Mueller

Rate This Article: Add This Article To:

Combining WebParts and Master Pages - ' Creating a Custom Control '
( Page 3 of 4 )

Creating a Custom Control

After you place the WebPartManager in the desired location, the next issue you must consider is what to allow for modifications.

A user could customize a Web application by moving elements around, closing unneeded standard elements, or adding optional elements. You must create a Web User Control to control all of these user features.

Figure 1 shows a simple control that consists of a heading, a drop down list box for various customization views, and a reset link.

This is the simplest control you can create; controls that are more complex could contain options for setting global page settings, as well as per-user settings.

Figure 2: Microsoft encrypts individual user settings to protect user privacy.



 
 
>>> More Using Microsoft Visual Studio Articles          >>> More By John Mueller