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

Javascript error when using FormDecorator

9 Answers 495 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Joao
Top achievements
Rank 1
Joao asked on 20 Mar 2009, 06:36 PM
Hello,

after I add a FormDecorator, VS2008 is gives me an error for the javascript generated. This is the line:

var _8=_6.__lookupSetter__("checked");

And these are the 2 error messages returned:

Microsoft JScript runtime error: Object doesn't support this property or method

Microsoft JScript runtime error: 'Telerik.Web.UI.FormDecoratorDecoratedControls.Default' is null or not an object

What would be the cause?

Thank you!

9 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Mar 2009, 01:17 PM
Hello Joao,

I assume that you are using IE8. Please make sure that you are using the latest version of the control where the problem is fixed.
By the way, we are currently working on a service pack that will provide full compatibility for RadControls for ASP.NET AJAX Q1 2009 with the official version of IE8. The service pack should be available in 2 weeks.


All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Samantha
Top achievements
Rank 1
answered on 08 Apr 2009, 06:43 AM
hi Georgi Tunev 
May i know is the service pack that provide full compatibility for RadControls for ASP.NET AJAX Q1 2009 with the official version of IE8 done?  When would it be released?  i'm having the javascript problem once i added the formdecorator into my web form and i'm currently using IE 8.

Ur prompt reply is highly appreciated.
thanks.

Regards,
Samantha Kho
0
Tervel
Telerik team
answered on 08 Apr 2009, 08:49 AM
Hi Samantha ,

The Q1 2009 SP1 which addresses IE8 problems was released several days ago. You can get it from the Downloads section of the Telelrik site.

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Vadimko
Top achievements
Rank 2
answered on 23 Apr 2009, 02:45 PM

Hi

It is NOT fixed in the latest (2009.1 402 Apr 2, 2009) release.

Telerik.Web.UI.RadFormDecorator._globalReplaceSetters=function(_6){
var _7=Telerik.Web.UI.RadFormDecorator;
var _8=_6.__lookupSetter__("checked"); <<<< fails

Even in a simplest test project with <telerik:RadEditor ID="ed" runat="server"> definition the control is not useble.

How can we DISABLE FORM DECORATOR AT ALL?

Vadim

0
Tervel
Telerik team
answered on 23 Apr 2009, 04:29 PM
Hello Vadimko,

I assure you that the issue is resolved in the 2009.1 402 build - and you can easily test in our online demos (which are currently using this build).

You must be using an outdated version. In case you believe that this is not the case, and you got the version right, I ask you to wrap up a sample project and send it to us for further examination.

Best regards,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ingo Buck
Top achievements
Rank 1
answered on 11 Aug 2009, 02:40 PM
Hi.

I have the same error. Same line. Using IE8. Telerik version 2008 Q3.
But it happen with "localhost" in the URL, only.
One of my testers found out, that testing the web-application on the IIS-Server using localhost does not work, but using the server name does.

May this is an important hint.

Regards,
Ingo Buck
0
Ingo Buck
Top achievements
Rank 1
answered on 11 Aug 2009, 04:21 PM
Hi.

My problem is fix with version 2009 Q2.

Thanks!
0
Ben Thompson
Top achievements
Rank 1
answered on 20 Aug 2009, 11:12 PM
Hi Terval - Have just downloaded Q2 2009.2.701 RadControls for ASP.NET AJAX in order to get this same issue fixed.

I am using Net 2 on a DNN 4.9 platform in VS2008 (localhost) using IE8 and this error comes up repeatedly. 

Is it not possible, Terval,  to use the RadFormDecorator within this paradigm?

[Incidentally, I am also using this same control extensively in a different project but using DotNetNuke 5.1, which uses Net 3.5 of course, and IE8 within a localhost VS2008 environment and it works perfectly.]
 
0
Lini
Telerik team
answered on 21 Aug 2009, 08:25 AM
Hi,

Make sure that you have updated your DNN 4.9 site with the new version of the Telerik.Web.UI assembly. There is no functional difference between the .NET 2.0 and 3.5 so if it works on 3.5 it must work with 2.0 as well. If you cannot fix the error even after updating and your site is visible from the internet, please open a formal support ticket and send us a test page where we can see the IE 8 problem.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
FormDecorator
Asked by
Joao
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Samantha
Top achievements
Rank 1
Tervel
Telerik team
Vadimko
Top achievements
Rank 2
Ingo Buck
Top achievements
Rank 1
Ben Thompson
Top achievements
Rank 1
Lini
Telerik team
Share this question
or