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

    Hi,


    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);

    string

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

    Manager.ResponseScripts.Add(script);

    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.

     
    Thanks
    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]);

    Kiara
  3. UI for ASP.NET Ajax is Ready for VS 2017
  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