Changing selected value of dropdown via Javascript Selectedindexchanged event doesnt fire

Discussion in 'ASP .Net' started by maheshvd, Oct 26, 2005.

  1. maheshvd

    maheshvd Guest

    Hi all,
    If I change the selected value of a dropdown server control on client
    side, is there any way to force the serverside Selectedindexchanged
    event? (if the user clicks on the dropdown and selects a value, the
    codebehind event fires, but if the value is changed via javascript, it
    doesnt. I tried __doPostBack, but it posts entire form back and fires
    all the validation check.
    How can I achieve firing of server side event via javascript?

    Any help is appreciated.

    maheshvd, Oct 26, 2005
    1. Advertisements

  2. maheshvd

    Guest Guest

    The event code is server side code. Javascript would thus need to submit the
    form in order to make this happen.
    Guest, Oct 27, 2005
    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.