473,503 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cascading dropdownlist without refreshing the page.

6 New Member
hi,
plz help me, i hav a problem in cascading two or more dropdownlists(like after selecting country in one dropdownlist, its corresponding states should display) without refreshing the whole page.

i have done it by keeping autopostback=true for dropdownlist control and getting respective fields in other dropdownlist by arraylist class, but the page is getting refreshed.

thanking you,
Jul 10 '07 #1
6 2284
r035198x
13,262 MVP
hi,
plz help me, i hav a problem in cascading two or more dropdownlists(like after selecting country in one dropdownlist, its corresponding states should display) without refreshing the whole page.

i have done it by keeping autopostback=true for dropdownlist control and getting respective fields in other dropdownlist by arraylist class, but the page is getting refreshed.

thanking you,
Moved from articles to forum section
Jul 11 '07 #2
kenobewan
4,871 Recognized Expert Specialist
If you want only part of the page to refresh you could do this using a panel, or try using not ispostback. HTH.
Jul 11 '07 #3
dip_developer
648 Recognized Expert Contributor
If you want only part of the page to refresh you could do this using a panel, or try using not ispostback. HTH.
without refreshing you cannot have the required information on the other dropdownlist...........
How can you expect that you want some records from server to populate your dropdown and there will be no postback.....
is it logically possible????

what is important for your work is ................
It is not necessary to make a roundtrip of the full page........a portion of the page can make a roundtrip to post the data.........

in my opinion you can opt for AJAX
Jul 11 '07 #4
kenobewan
4,871 Recognized Expert Specialist
My bad - should have just said the first bit.

I was in a speed reading accident. I hit a book mark and flew across the room ;).
Jul 11 '07 #5
r035198x
13,262 MVP
without refreshing you cannot have the required information on the other dropdownlist...........
How can you expect that you want some records from server to populate your dropdown and there will be no postback.....
is it logically possible????

what is important for your work is ................
It is not necessary to make a roundtrip of the full page........a portion of the page can make a roundtrip to post the data.........

in my opinion you can opt for AJAX
A dirtier method is to load all the data into a hidden array/select and then reference that using javascript but Ajax is the normal way of dealing with this problem
Jul 11 '07 #6
srinivaspnv21
6 New Member
Hi fids and thanks for helping out me.
Jul 17 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
23522
by: Troy | last post by:
Hello- I have a website that uses a custom built webserver to serve the pages. (Please don't ask me why my boss had his own web server written). I am displaying a log of information that is an...
2
2530
by: jdi | last post by:
Hello, I have a seemingly basic question about ASP.NET. I would like to create a page containing an image, which keeps swapping the url of the image source, without refreshing the entire page. ...
0
1580
by: fwirtanen | last post by:
I am building a custom composite control consisting of two drop downs, with parent/child dependancy. The child dropdownlist is updated through client callback when the parent index changes. ...
2
9716
by: Sam | last post by:
A) Destination Table with 4 Fields. 1) Last Name 2) First Name 3) State 4) Zip Code. B) Look up table State/Zip Code with 2 Fields
0
2505
by: broadiea | last post by:
I have a Reporting Services 2005 report which uses cascading parameter multi-select drop-down boxes. The report runs perfect after making initial selections. However, each subsequent parameter...
13
7428
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window...
3
5536
by: burrashiva | last post by:
:( ::) Hello there, I recently started Web Designing with PHP, Javascript and AJAX. I am facing a problem which I will try to explain: If I am successful in conveying the problem to you...
0
1049
by: matt cupryk | last post by:
I have problems updating the image on the page. <script language="javascript" type="text/javascript"> function pageLoad(sender, args) { $find("cddCountry").add_selectionChanged(onCCSChanged);...
2
1305
by: Adam Mather | last post by:
What was your solution to this problem in the end Jacque?. I am attempting to re-write an ASP / VB Script application in C# to be made available as a series of web parts to be deployed on WSS 3.0....
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.