473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

AJAX ModalPopup To Confirm Dropdownlist Change

Ben
Hi,

i'm trying to get an AJAX modalpopup to confirm if a user really wants
to change a dropdown list value (on the client side) -- if they choose
'No' in the popup, the dropdown list value should stay the same.

anyone know how to accomplish it? i can get the popup to come up on
the onchange, but i'm not sure how to go about to revert the value if
they choose no. even if i put 'return false' in the onchange of the
dropdown, it ignores it and still changes...

thanks!
Mar 14 '08 #1
2 5996
On Mar 15, 12:01*am, Ben <benm5...@gmail.comwrote:
Hi,

i'm trying to get an AJAX modalpopup to confirm if a user really wants
to change a dropdown list value (on the client side) -- if they choose
'No' in the popup, the dropdown list value should stay the same.

anyone know how to accomplish it? * i can get the popup to come up on
the onchange, but i'm not sure how to go about to revert the value if
they choose no. *even if i put 'return false' in the onchange of the
dropdown, it ignores it and still changes...

thanks!
http://forums.asp.net/t/1062546.aspx
Mar 16 '08 #2
Ben
On Mar 16, 5:19*am, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On Mar 15, 12:01*am, Ben <benm5...@gmail.comwrote:
Hi,
i'm trying to get an AJAX modalpopup to confirm if a user really wants
to change a dropdown list value (on the client side) -- if they choose
'No' in the popup, the dropdown list value should stay the same.
anyone know how to accomplish it? * i can get the popup to come up on
the onchange, but i'm not sure how to go about to revert the value if
they choose no. *even if i put 'return false' in the onchange of the
dropdown, it ignores it and still changes...
thanks!

http://forums.asp.net/t/1062546.aspx
thanks a lot !!!
Mar 16 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: RFS666 | last post by:
Hello together, I tried to find out about populating an asp.net server control (a dropdownlist) from the clientside jscript, but I didn't find a solution up to now. I cannot use a html...
5
by: robert | last post by:
I have a dropdownlist with the autopostback set to true. I want the user to be confirm whether they do indeed want to change the value, which on post back fires a server side event...
0
by: Nemisis | last post by:
Hi everyone, Does anyone know how to show an Ajax ModalPopup when a page loads? I would like to use it as a warning dialog for a company record, so that when a user navigates to a companies...
1
by: shaizaban | last post by:
hello, my question is as follows (very urgent): i generated in an aspx page a modalpopup ajax control. i inserted a user control into the panel contained in the popup control. the panel contains...
11
by: harold.gimenez | last post by:
Hi group, I am trying to change the selection of an ASP Dropdownlist just like "Orange" is selected here: http://www.w3schools.com/js/tryit.asp?filename=try_dom_option_selected The...
1
by: mbruyns | last post by:
i have been trying (and sometimes succeeding) to use the modalpopupextender to show various panels of controls on my asp pages. the strange problem that i keep on running into is that sometimes it...
1
by: Jamie Sutherland | last post by:
Hi , On my page I have updatepanel 2 buttons, 2 modalpopup extenders panel with a updatepanel and some textboxes in it. I want to use the 2 buttons to open the same panel using the...
3
by: misogsk | last post by:
Hi all, i need to create modal popup, which will have OK and Cancel button and radio list. Now i need to run method on server which deletes data from database and way of deleting will depend on...
5
by: thatcollegeguy | last post by:
Below are my 3php and 2js files. I create a table using ajax/php and then want to change the values in the tables add(+ number for teamid) id's for each specific td in the table. I don't know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.