Javascript alert not RadAlert

2 posts, 0 answers
  1. Marcia
    Marcia avatar
    1 posts
    Member since:
    Dec 2010

    Posted 08 Dec 2010 Link to this post

    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.

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 10 Dec 2010 Link to this post

    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:

    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.
Back to Top