Personalization in SmartPart

Sep 25, 2008 at 4:12 PM
Hi, I wonder that is it possible to personalize smartpart ?
That is, I develop a user control and add this user control to my sharepoint site with help of smartpart.
So, Could a registered user customize(personalize) this webpart ? or smartpart cannot be personalized  ?

Thanks in advance
Kind Regards.
Sep 29, 2008 at 8:45 AM
Edited Sep 29, 2008 at 8:50 AM
Hi, find it but this is not adequate solution.

      WebDisplayName("Select A City :"),
       WebBrowsable ]  
    public string CitySelected
        get   {       return citySelected;       }     
        set   {       citySelected = value;     }

This property can personalize the webpart , but I want that user can select city from a DropDown control.
However, in this case only a textbox appear.
I read an article, with user control it is not possible to create a property use a dropdown list.
In order to accomplish this, we have to create webpart classic way, not using smart part. 
Any ideas? 
Thanks in advance.
Oct 1, 2008 at 4:04 PM
This article may be of some use:  "Retrieving SharePoint Site Information in an ASP.NET Web Application" at  It was written in May 2005, so it is likely referring to SharePoint 2003...