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

[Solved] RadAlert Problems with IE

1 Answer 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kosal
Top achievements
Rank 1
Kosal asked on 24 Sep 2009, 08:11 PM
I have some code that is calling radalert.
It works perfect in FireFox, but not in IE, IE throws an "Object doesn't support his property or method" error.
Do I need to do something different to get this to work with IE?
Any help would be appreciated.

I have the code in the click event of a button.

        if (condition > 0)
        {
            //do something
        }
        else
        {
            string radalertscript = "<script language='javascript'> window.onload = function(){radalert('Error has occurred.', 330, 210);}</script>";
            Page.ClientScript.RegisterStartupScript(this.GetType(), "radalert", radalertscript);          
        }

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 25 Sep 2009, 10:25 AM
Hello Kosal,

I believe that the following blog post will be of help:
http://blogs.telerik.com/blogs/09-05-05/executing_javascript_function_from_server-side_code.aspx


Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Kosal
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or