Solved

Web app combo refresher

Posted on 2004-10-25
182 Views
Last Modified: 2010-05-18
Hi,

     In a web application, after someone changes the value/index of a dropdownlist box, how do I tell the page to refresh in code?  Depending on what they choose, I fill out another combo box, and then several text controls.  Each time I change that second combo box,  I fill out the text controls as well, and I don't seem to get an update on this stuff unless I then press a button that has no code behind it.

JP
0
Question by:gleznov
    1 Comment
     
    LVL 4

    Accepted Solution

    by:
    Hi,

    In order to fire the "SelectedIndexChanged" event when the value of the combobox changes, you have to set its "AutopostBack" property to true.

    Then you can execute the code as you wish in the event handling procedure.

    Glom
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: From Zero to Hero with Nodejs & MongoDB

    Interested in Node.js, but don't know where to start or how to learn it properly? Confused about how the MEAN stack pieces of MongoDB, Expressjs, Angularjs, and Nodejs fit together? Or how it's even possible to run JavaScript outside of the browser?

    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now