PC Review


Reply
Thread Tools Rate Thread

AJAX ModalPopup To Confirm Dropdownlist Change

 
 
Ben
Guest
Posts: n/a
 
      14th Mar 2008
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!
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      16th Mar 2008
On Mar 15, 12:01*am, Ben <benm5...@gmail.com> wrote:
> 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
 
Reply With Quote
 
Ben
Guest
Posts: n/a
 
      16th Mar 2008
On Mar 16, 5:19*am, Alexey Smirnov <alexey.smir...@gmail.com> wrote:
> On Mar 15, 12:01*am, Ben <benm5...@gmail.com> wrote:
>
> > 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 !!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confirm dialog and ajax call Mohd Ebrahim Microsoft ASP .NET 1 31st Jan 2010 02:45 PM
Ajax ModalPopup extender not closing Carlos Microsoft ASP .NET 2 24th Sep 2009 02:25 PM
ajax modalpopup extender help Jamie Sutherland Microsoft ASP .NET 1 5th Dec 2007 04:23 AM
Ajax ModalPopup Extender Nemisis Microsoft ASP .NET 0 6th Feb 2007 10:54 AM
dropdownlist autopostback with javascript confirm robert@orisoft.co.uk Microsoft ASP .NET 5 11th Oct 2006 05:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 AM.