1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

DropDownList Selection with EnableStateFalse

Discussion in 'C#' started by webcosmo, Jul 11, 2007.

  1. #1
    I have two dropdownlists. First one is static, second one gets populated when I select any from the first. Also I have a button control. For the page I have ViewState false.
    When I click on the button with first and second both selected, selection of the second dropdownlist is lost and set as default?
    Any idea how to solve it?
     
    webcosmo, Jul 11, 2007 IP
  2. pepe123

    pepe123 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    at 1,
    You have a static DropDownList in Page? You mean:

    protected static DropDownList... ???

    Can you put the source code here?

    at 2,
    Why do you have ViewState false?
    Set the EnableViewState as true.
     
    pepe123, Jul 12, 2007 IP
  3. MasterOfLogic

    MasterOfLogic Well-Known Member

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    post your code or PM to me. I can help you with this. :)
     
    MasterOfLogic, Jul 16, 2007 IP