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

FIX: Javascript error when using the debug version of MS Ajax library (Q1 2010 release)

0 Answers 332 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 11 Mar 2010, 04:42 PM
Hi guys,

We have discovered a small, but annoying bug in RadMultiPage in Q1 2010 release (version 2010.1.309).

PROBLEM
A JavaScript error can occur when using the debug versions of the MS AJAX library (<compilation debug="true"> in web.config).

SOLUTION
There are three solutions, please pick one of them:

1. Set ScriptMode="Release" property of the ScriptManager / RadScriptManager.

2. Disable the debugging in the web.config file:
    <compilation debug="false">

3. Override the dispose method of the control on the page:
<asp:ScriptManager ID="ScriptManager" runat="server">  
</asp:ScriptManager>  
 
<script type="text/javascript">  
    (function() {  
        var oldDispose = Telerik.Web.UI.RadMultiPage.prototype.dispose;  
        Telerik.Web.UI.RadMultiPage.prototype.dispose = function()  
        {  
           Telerik.Web.UI.RadMultiPage.callBaseMethod(this"dispose");  
           oldDispose.call(this);  
        }  
    })();  
</script> 


What is Next
The problem is already fixed and will be available in the next Latest Internal Build and the first service pack.

We apologize for the caused inconvenience.
Tags
TabStrip
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Share this question
or