Home > MOSS 2007 > Selector Controls Rock!

Selector Controls Rock!

August 18th, 2008 Leave a comment Go to comments

As saying goes , a picture is worth a thousand words! Well, this doesn’t apply to this post, because :

First off, I’ve attached more than one picture 😉

Second, Thousand words  are not here. They are all written in the community content of SharePoint MSDN SDK. Please excuse if formatting is messed up in those pages, that’s the best I can do using their editor control!  (Somebody will eventually format it – I hope!)

 ServerSelector class: Click here.
servers.png

WebApplicationSelector class: Click here.
web-applications.png

SiteAdministrationSelector class: Click here.
site-collections.png

Real world example: Yes, you can use these controls with all other available controls to come up with pretty slick *SharePointy* UI components such as the one below.Admittedly, this one is not slick , because I built it – I am horrible at UI stuff  😛

Click on the picture to see the actual size:

realworld.png

Categories: MOSS 2007 Tags:
  1. Mike Sharp
    September 14th, 2008 at 16:34 | #1

    Great Stuff! Thanks adding the Community Content on MSDN!

    Mike

  2. November 2nd, 2008 at 13:47 | #2

    Hey Reza.

    Thanks for the post and the heads up.
    I’m tyring to use the WebApplicationSelector in a wee project I’m working on. However when I try and get the currently selected WebApplication from the control in my code the CurrentItem Property returns null.

    Any ideas as to what might be going on?

  3. November 2nd, 2008 at 14:09 | #3

    Oops, found the issue, I’d forgotten to wire up the ContextChanged event of the control in the .aspx file :o\

You must be logged in to post a comment.