How do i prevent web form from refreshing after selecting value in combo box

Posted on 2009-02-10
Medium Priority
Last Modified: 2013-11-19
I need some help. I not a prolific web developer, so any suggestions would be greatly appreciated. Basically I have a web form the is used to enter information into a works order management system. On the form itself I have a handful of textbox's and combo boxes of which I populate on page load. Two of the combo boxes are filtered upon selection of the previous combo box values. When I select a value form the first combo box it retrieves information from the database to load the second combo box, at the same time it refreshes the whole form. I don't want this to happen. I just need a quick simple bit of code to prevent the web page from refreshing upon the combo box value being selected. The only combo box event I am using is _SelectedIndexChanged, which passes the value to the method that connects to database and loads the next combo box in the sequence. I haven't attached any samle as i think it is a real easy thing to do for all the experts out there, but if required i can paste the relevants code snippits.

Question by:mitzdadon
LVL 15

Accepted Solution

Praveen Venu earned 1000 total points
ID: 23600067

Assisted Solution

by:Pramod Nair
Pramod Nair earned 1000 total points
ID: 23600115
You can use AJAX for that.
Down and install  Ajax 2.0 from the below site

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

809 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