Summary


In this chapter, you learned how to build Web Parts. We started by creating two Hello World Web Parts. One Web Part was created with a User Control, and the other Web Part was created with a control that inherits from the base WebPart class.

Next, you learned how to create authorization filters for Web Parts. You learned different methods of filtering Web Parts so that different users can view different sets of Web Parts on the same page.

You also learned how to add custom verbs (menu items) to a Web Part. You learned how to associate both server-side and client-side code with a verb.

We also discussed the important topic of adding help to a Web Part. You learned how to open a modal dialog box that displays help information for a particular Web Part.

Finally, the Web Part application programming interface exposed by the WebPartManager control was explored in detail. You learned how to manipulate the Web Parts contained in a page through the methods of the WebPartManager class.




ASP. NET 2.0 Unleashed
ASP.NET 2.0 Unleashed
ISBN: 0672328232
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net