473,602 Members | 2,811 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(l ike after selecting country in one dropdownlist, its corresponding states should display) without refreshing the whole page.

i have done it by keeping autopostback=tr ue 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 2296
r035198x
13,262 MVP
hi,
plz help me, i hav a problem in cascading two or more dropdownlists(l ike after selecting country in one dropdownlist, its corresponding states should display) without refreshing the whole page.

i have done it by keeping autopostback=tr ue 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
23532
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 unknown number of rows. This is currently displayed in a table. The table is generated by some code that we had to write (thank you custom webserver) so that the webserver will parse HTML files and fill in the tags we created with some data...
2
2535
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. So when the page first loads I'd like the image url to be "img1.gif"; then 20 seconds later "img2.gif"; then "img3.gif", and so on. All this should take place dynamically without refreshing the page. Any help would be appreciated.
0
1584
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. An 'All' list item is added to the child dropdown during the CreateControlHeirarchy(bool useDataSource) method. Somewhere between the CreateControlHeirarchy method executing and the
2
9727
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
2509
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 selection causes the page to refresh to a blank page until the View Report button is clicked. What I would like to happen (which should be the norm) is for the user to be able to make all necessary selections without the page auto-refreshing after each...
13
7438
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 will open.My problem is the pop-up window and the parent window has same combobox.if i add data through html form in pop-up window(Ex2.jsp) it enters the combobox...but the data in the combobox of parent window(Ex1.jsp) is entering only when i refresh...
3
5547
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 clearly, could you pl. suggest me some solution? Thank you, Here is the problem details:
0
1057
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
1319
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. I have a form which has three dropdownlists. similar to your senario i require the first dropdownlist to populate the second and the second dropdownlist to populate the third. i have tackled this problem in many different ways and am still...
0
7920
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8404
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6730
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5867
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1510
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.