This is a migrated thread and some comments may be shown as answers.

Javascript alert not RadAlert

1 Answer 92 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Marcia
Top achievements
Rank 1
Marcia asked on 08 Dec 2010, 05:15 PM
I am new to Telerik, but I have a problem.  I support an existing .NET application, which onclick of the Save button, once the data was save to the DB, a StartupScript was registered, which created an alert box, that told the user the data was saved.  I modified in the code behind that onclick of the Save button instead of Saving I pop up a Telerik Window and once the user has finished and closed this window, Saving should continue and thereby the same alert window should pop up and let the user know that their data has been saved.  Unfortunately, this doesn't happen the Javascript alert window is  never displayed, it seems as if the AjaxManager is in control and just ignores this, script.  I know this can be changed to a RadAlert, but unfortunately this window looks totally different from the alert window the user will not be happy with this.  Is there anyway I can still call the StartupScript that creates the JavaScript Alert window?

Thanks in advance for any help you can give.

Marcia

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 10 Dec 2010, 04:10 PM
Hello Marcia,

If I understand your scenario correctly, you want to show an alert() dialog after Ajax request (handled by RadAjaxManager), is this so?
If it is, then you could use RadAjaxManager's Alert method:
http://www.telerik.com/help/aspnet-ajax/ajxcontrolproperties.html



All the best,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Ajax
Asked by
Marcia
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or