473,508 Members | 3,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Alert in Ajax

I have an ASP.Net page that uses Ajax on a FormView. Prior to Ajax, I had a
Javascript alert() box pop-up to inform the user that update was successful.
Now that the Postback does not occur, how can I do the same thing with Ajax?
Thanks.

David
Nov 11 '08 #1
1 3412
"David C" <dl*****@lifetimeinc.comwrote in message
news:Oj**************@TK2MSFTNGP03.phx.gbl...
I have an ASP.Net page that uses Ajax on a FormView. Prior to Ajax, I had
a Javascript alert() box pop-up to inform the user that update was
successful. Now that the Postback does not occur, how can I do the same
thing with Ajax?
ScriptManager.RegisterStartupScript(this, GetType(), "msg",
"alert('Success');", true);
http://msdn.microsoft.com/en-us/libr...tupscript.aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 11 '08 #2

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

Similar topics

1
1694
by: Joris Lambrecht | last post by:
Hi people, Please take a look at the issue i talk about below. (yes i do realise such functions are publicaly available) The page i'm using uses JSON defined array of image files with...
8
11761
by: BiffMaGriff | last post by:
Hello, I am using VS2005 to code webapps using C#. I am trying to call the javascript function alert() from my codebehind. I am using master pages and AJAX. My page structure is as follows: ...
3
3796
by: Jeremy | last post by:
I've got a button in an update panel. In the click event of the button (server side code), I perform some logic and under certain criteria I want to display an alert to the user. I've tried...
2
3121
by: evangstitt | last post by:
Hi, I am using AJAX and coldfusion, and am having trouble getting some alerts to work. I am using the http object in javascript: var url="add_item.cfm"...
1
1688
by: kaj28121980 | last post by:
I have a typical senario. My Web component provides action for database backup and restore. while user wants to backup or restore database the user is logged out and redirected to the login page and...
1
2417
by: cmrhema | last post by:
Hi, I am working in asp.net+ajax. I do not know where to put this question. I guess i am in the right place I am using ajax update control panel. I have three dropdownlist inside it. Now the...
1
1407
by: David | last post by:
Hi all, I am using AJAX in my app. I have a button that is updating the database, but when I click the button, I am not getting any feedback (normal (no ajax) would post back the page, which...
8
2492
by: knkk | last post by:
Instead of an id getting its innerHTML changed, the entire page is getting refreshed with this function of mine (you may want to look just at the end of the function where there's an alert): ...
6
1083
by: codeseeker1 | last post by:
currently iam working with a php code along with ajax. code works properly with an alert box.when alert box is removed,rest of code not working.can anyone help? thanx in advance
0
7128
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
7393
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...
1
7058
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
7502
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...
1
5057
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
4715
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...
0
3206
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...
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.