13.07.2015 Views

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

480CHAPTER 12 ■ SHAREPOINT OPERATIONS AND ADMINISTRATIONList<strong>in</strong>g 12-3. Placeholders CodeUnified Logg<strong>in</strong>g Service (ULS) LogsThis page allows you to browse the Unified Logg<strong>in</strong>g Service logsCod<strong>in</strong>g the Ma<strong>in</strong> PlaceholderThe most complicated part of the page is the code for the ma<strong>in</strong> placeholder. The ma<strong>in</strong> placeholderrepresents the body of the page. Here you will def<strong>in</strong>e drop-down lists to select the logfile for view<strong>in</strong>g as well as parameters for filter<strong>in</strong>g the logs. The layout of this page is controlledby the user controls InputFormSection and InputFormControl. These user controls were createdspecifically for the Central Adm<strong>in</strong>istration site and give it that familiar two-column lookwith explanations on the left and controls on the right. There is some effort <strong>in</strong>volved <strong>in</strong> work<strong>in</strong>gthrough this code, but it is an excellent way to learn how a <strong>SharePo<strong>in</strong>t</strong> page is laid out. Addthe code from List<strong>in</strong>g 12-4 to create the ma<strong>in</strong> body of the page.List<strong>in</strong>g 12-4. The Ma<strong>in</strong> Placeholder Code

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!