Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Pop-up using Ajax

Reply
Thread Tools

Pop-up using Ajax

 
 
DavidC
Guest
Posts: n/a
 
      02-19-2010
I have a FormView and ListView inside an UpdatePanel. I use the FormView to
insert records and then DataBind the ListView in Inserted event. I would
like to pop-up a simple alert box based on data inserted. I can get a Label
to populate in this situation but since it constitutes a warning I would like
to pop-up something to get their attention. I have used javascript alerts on
page script but since page does not reload it does not work. Can someone
point me to help on doing this? Thank you.
--
David
 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      02-21-2010


"DavidC" <> wrote in message
news:BE8BBA53-7D94-494F-B551-...
> I have a FormView and ListView inside an UpdatePanel. I use the FormView
> to
> insert records and then DataBind the ListView in Inserted event. I would
> like to pop-up a simple alert box based on data inserted. I can get a
> Label
> to populate in this situation but since it constitutes a warning I would
> like
> to pop-up something to get their attention. I have used javascript alerts
> on
> page script but since page does not reload it does not work. Can someone
> point me to help on doing this? Thank you.


Here is one idea:
http://mattberseth.com/blog/2007/10/...rm_dialog.html

The modal popup in the AJAX control toolkit is also useful for something
like this:
http://www.asp.net/ajax/ajaxcontrolt...odalpopup.aspx

The only "trick" is in the wiring.

--
Peace and Grace,
Greg

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

************************************************
| Think outside the box! |
************************************************

 
Reply With Quote
 
 
 
 
DavidC
Guest
Posts: n/a
 
      02-22-2010
Thanks Greg. These ajax controls handle process prior to submitting. I want
to do something after panel is posted back via ajax. Something like "The
record was updated successfully" with only OK as option. Is there any other
way to do this? Thanks.
--
David


"Gregory A. Beamer" wrote:

>
>
> "DavidC" <> wrote in message
> news:BE8BBA53-7D94-494F-B551-...
> > I have a FormView and ListView inside an UpdatePanel. I use the FormView
> > to
> > insert records and then DataBind the ListView in Inserted event. I would
> > like to pop-up a simple alert box based on data inserted. I can get a
> > Label
> > to populate in this situation but since it constitutes a warning I would
> > like
> > to pop-up something to get their attention. I have used javascript alerts
> > on
> > page script but since page does not reload it does not work. Can someone
> > point me to help on doing this? Thank you.

>
> Here is one idea:
> http://mattberseth.com/blog/2007/10/...rm_dialog.html
>
> The modal popup in the AJAX control toolkit is also useful for something
> like this:
> http://www.asp.net/ajax/ajaxcontrolt...odalpopup.aspx
>
> The only "trick" is in the wiring.
>
> --
> Peace and Grace,
> Greg
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> ************************************************
> | Think outside the box! |
> ************************************************
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
An Ajax Dictionary... My first AJAX project... GreatDomainz@gmail.com HTML 20 03-31-2008 01:24 PM
AJAX IDE and AJAX TOOL--The Release of JoyiStar AJAX WebShop 3 Beta minnie Java 1 12-13-2006 06:29 AM
Ajax installed.. where are Ajax controls like popup in my VS toolbox ?? jobs ASP .Net 0 11-06-2006 01:23 AM
Ajax Applications (75 links) : Sites/applications featuring/using Ajax. www.web20developers.com HTML 0 10-06-2006 03:28 AM
beginner AJAX questions (AJAX.net) darrel ASP .Net 5 04-28-2006 06:42 PM



Advertisments