Alert window on condition

4 posts, 0 answers
  1. Cris
    Cris avatar
    27 posts
    Member since:
    Aug 2006

    Posted 05 May 2009 Link to this post

    Basically I want to do a simple alert window using RadMenu. When a button is clicked, some checks are made on server and then if they fail I want to display a RadWindow with a message. I can't find a solution. Any help is appreciated!

    Thanks,
    C
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 May 2009 Link to this post

    Hi Cris,

    I believe the following KB article which describes how to call RadAlert from server side, will be of help:
    Calling radalert from codebehind (all versions of RadWindow)

    Thanks,
    Shinu.
  3. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 06 May 2009 Link to this post

    Hi Cris,

    The KB article Shinu provided is the one which explains exactly how to achieve what you need. Note, however, that it demonstrates a few different scenarios and it is important to determine which one is the one which meets your scenario in order to correctly execute the script from the server (especially in ajax scenarios).

    I also recommend to examine the following blog post which concerns the same topic:

    http://blogs.telerik.com/supportdept/posts/09-05-05/executing_javascript_function_from_server-side_code.aspx


    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. Cris
    Cris avatar
    27 posts
    Member since:
    Aug 2006

    Posted 07 May 2009 Link to this post

    Hey - thanks for the replies, works just fine!
Back to Top