No postback after setting SelectedValue

Discussion in 'ASP .Net' started by [email protected], Nov 28, 2005.

  1. Hi:

    I noticed that after setting SelectedValue of a dropdownlist to have an item
    selected in list, if you reselect the same item later, it will not postback.
    In most cases I can see that this behavoir is correct, however in the
    scenario I'm working on, I would like it to postback. How do I force it to
    postback?

    Thanks,
    Charlie
     
    [email protected], Nov 28, 2005
    #1
    1. Advertisements

  2. Charlie,

    Whenever you want to force a postback you can make a javascript call to
    myForm.submit().

    Eliyahu
     
    Eliyahu Goldin, Nov 29, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.