RadAlert() is not open properly on load event

3 posts, 0 answers
  1. bankey
    bankey avatar
    19 posts
    Member since:
    Apr 2008

    Posted 05 Sep 2008 Link to this post


    I have used the RadAjaxManager and RadWindowManager on the page but unable to open the popup in load event of the page.
    in the load event i have assigned the property and attached the manager in load event like:

    private RadAjaxManager Manager


    get { return RadAjaxManager.GetCurrent(Page); }}

    and on the load event

    Manager.AjaxSettings.AddAjaxSetting(Manager, Manager);


    script = "return radalert('HI.', 300, 50);";


    In the same page i have create the buttonclick event, here is working properly, by attaching the button with the manager in load event. So, I am facing the problem when opening the radalert() in Page_Load() event.

    I am looking for your kind support.

    Bankey Bihaari

  2. Kiara
    Kiara avatar
    309 posts
    Member since:
    Jul 2006

    Posted 08 Sep 2008 Link to this post

    Bankey, does this work when you replace the radalert call with standard browser alert like this:

    script = "return alert('HI.', 300, 50);";

    Also I think that you should add the WindowManager control as updated control to the RadAjaxManager settings:

    Manager.AjaxSettings.AddAjaxSetting(Manager, [YourWindowManager]);

  3. DevCraft R3 2016 release webinar banner
  4. Jogn
    Jogn avatar
    14 posts
    Member since:
    Oct 2008

    Posted 06 Nov 2008 Link to this post

    I have the same situation, simple alert is working but radalert is not , it seensed when we calll radlaert on pageload the radwindowmanager is not rendered yet. Plese can u give me example how open radalert directly on Page_load event. All Current examples i found are not working from pageload.
Back to Top