locked
dropdown list in Web Parts RRS feed

  • Question

  • I want to use dropdown list in Web Parts
    but in web parts dropdown can be use using Enum only.
    I want to bind Dropdown with datatable (value comes from database at runtime)
    and one more thing I have 2 dropdown lists in a web part
    second dropdown bind on the basis of selected value of First one.
    Please tell me how to bind dropdownlist in web parts
    I need to maintain personalization.
    means selected values in all dropdown should be maintain as per user log in.

    I already configured database for personalization.
    I can get personalization if there is any texbox. just i need to personalize the property.
    but i want to do the same with dropdown.
    in web parts dropdown can be show using Enum.
    that propery must be of enum type if you want to show dropdwon then it automatically converts it into a dropdown.
    how can i achieve this if i have a datatable or data comes from database at runtime ?
    is this possible using user control ?

    Sunil
    • Moved by eryang Monday, October 5, 2009 6:43 AM (From:.NET Base Class Library)
    Tuesday, September 29, 2009 6:30 AM

All replies

  • WebPart is an ASP.NET control. ASP.NET Forum have experts in ASP.NET. So I think you should post your question there for better response.
    Gaurav Khanna
    Tuesday, September 29, 2009 6:34 AM