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

radalert with IE9

2 Answers 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mehmet Tirgil
Top achievements
Rank 1
Mehmet Tirgil asked on 22 Apr 2011, 03:46 PM
Hi,
i have a code in page_load like that

Dim scriptstring As String = "radalert('test', 300, 125, 'header test');"
RadAjaxPanel1.ResponseScripts.Add(scriptstring)



it works with IE8 and IE7, but not work with IE9. How can i fix this.

Thanks


2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 27 Apr 2011, 11:11 AM

Hi Mehmet,

As I see that you are still using Q2 2010 SP2 it can be expected that some functionality will not work under future browsers like IE9. If you enable JavaScript debugging you should see an error under IE9 and not under IE7 and IE8, as IE9's implementation of some functions is different than its predecessors.

What I can suggest at this point is to upgrade to the latest version (Q1 2011 SP1) or at least to Q1 2011 as it is the first one to fully support IE9 and see if the problem persists.

Without your actual logic I can only be guessing how exactly you are using the controls, but please have the following in mind: as you are using an RadAjaxPanel's ResponseScripts collection it is very likely that on the first page load or after a full postback the RadWindowManager will not be loaded yet and you will get an error stating that radalert is undefined. To overcome this in that case you might need to use the approach shown in the following blog post: http://blogs.telerik.com/supportdept/posts/09-05-05/executing_javascript_function_from_server-side_code.aspx.



Greetings,
Marin
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.

0
Mehmet Tirgil
Top achievements
Rank 1
answered on 02 May 2011, 05:19 PM
I upgrade to Q1 2011 SP1, and my problem solved.
Thanks
Tags
General Discussions
Asked by
Mehmet Tirgil
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Mehmet Tirgil
Top achievements
Rank 1
Share this question
or