Ben Turpin
Top achievements
Rank 1
Ben Turpin
asked on 03 Sep 2008, 12:00 PM
I have something very strange.
I get the javascript error telerik is undefined, and only for IE6.
It happens only to the tree object, and on one page it works wel, but on another page I get this error, and the tree is unaccessable.
Is there something where and how I can register the webresource.axd?
When I'm looking with fiddler, I don't see the resource loading on my second page, but it is loading on the first page.
I've already searched in your forum, but there is not any solution described. So please help!
Thanks in advance
I get the javascript error telerik is undefined, and only for IE6.
It happens only to the tree object, and on one page it works wel, but on another page I get this error, and the tree is unaccessable.
Is there something where and how I can register the webresource.axd?
When I'm looking with fiddler, I don't see the resource loading on my second page, but it is loading on the first page.
I've already searched in your forum, but there is not any solution described. So please help!
Thanks in advance
10 Answers, 1 is accepted
0
Hello Ben Turpin,
You can check this blog post which describes how to troubleshoot web resource issues. If this does not help I would ask you to either send us a live url or post a support ticket and attached a sample project.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can check this blog post which describes how to troubleshoot web resource issues. If this does not help I would ask you to either send us a live url or post a support ticket and attached a sample project.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ben Turpin
Top achievements
Rank 1
answered on 03 Sep 2008, 01:49 PM
Hi Albert,
Thanks for your quick response.
I've already read that page, and also included by hand the resource, but that didn't solve the problem. I saw it loading with fiddler, but I still got the telerik is undefined error.
And another problem is, it doesn't happen always, but sometimes.
Could this be a performance problem of the server?
Or what?
Thanks in advance
Thanks for your quick response.
I've already read that page, and also included by hand the resource, but that didn't solve the problem. I saw it loading with fiddler, but I still got the telerik is undefined error.
And another problem is, it doesn't happen always, but sometimes.
Could this be a performance problem of the server?
Or what?
Thanks in advance
0
Hi Ben Turpin,
If you are using RadScriptManager you may try setting the OutputCompression property to OutputCompression.None. Sometimes older versions of IE6 cannot decompress GZIP-ed content.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
If you are using RadScriptManager you may try setting the OutputCompression property to OutputCompression.None. Sometimes older versions of IE6 cannot decompress GZIP-ed content.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ben Turpin
Top achievements
Rank 1
answered on 03 Sep 2008, 02:08 PM
Hi Albert,
that was very quick ;-)
But the radscriptmanager doesn't have a property called OutputCompression
that was very quick ;-)
But the radscriptmanager doesn't have a property called OutputCompression
0
Accepted
Hi Ben Turpin,
Perhaps you are not using the latest official release. You can either upgrade or try replacing RadScriptManager with ScriptManager to see if output compression is the problem.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Perhaps you are not using the latest official release. You can either upgrade or try replacing RadScriptManager with ScriptManager to see if output compression is the problem.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ben Turpin
Top achievements
Rank 1
answered on 03 Sep 2008, 03:10 PM
Hi Albert,
that was the solution:
I've replaced the telerik scriptmanager with the one from microsoft, and no more telerik is undefined.
Thanks for your quick solution
that was the solution:
I've replaced the telerik scriptmanager with the one from microsoft, and no more telerik is undefined.
Thanks for your quick solution
0
Derick
Top achievements
Rank 1
answered on 23 Jan 2009, 12:44 PM
Hi,
I tried everything else mentioned on your troubleshooting pages as well as the forums, what worked finally was disabling the OutputCompression in RadScriptManager. This really took a lot of my time, I wonder if I would have avoided this issue if I had used 2008 Q3 instead of Q2 which I am currently developing with.
I needed to use deflate/gzip compression so I ended up adding the following in global.asax
I tried everything else mentioned on your troubleshooting pages as well as the forums, what worked finally was disabling the OutputCompression in RadScriptManager. This really took a lot of my time, I wonder if I would have avoided this issue if I had used 2008 Q3 instead of Q2 which I am currently developing with.
I needed to use deflate/gzip compression so I ended up adding the following in global.asax
protected void Application_PreRequestHandlerExecute(object sender, EventArgs e) |
{ |
HttpApplication app = sender as HttpApplication; |
string acceptEncoding = app.Request.Headers["Accept-Encoding"]; |
Stream prevUncompressedStream = app.Response.Filter; |
// |
// Enable the following line if ajax requests throw up errors |
// |
//if (!(app.Context.CurrentHandler is Page) || |
// app.Request["HTTP_X_MICROSOFTAJAX"] != null) |
// return; |
if (acceptEncoding == null || acceptEncoding.Length == 0) |
return; |
acceptEncoding = acceptEncoding.ToLower(); |
if (acceptEncoding.Contains("deflate") || acceptEncoding == "*") |
{ |
// defalte |
app.Response.Filter = new DeflateStream(prevUncompressedStream, |
CompressionMode.Compress); |
app.Response.AppendHeader("Content-Encoding", "deflate"); |
} |
else if (acceptEncoding.Contains("gzip")) |
{ |
// gzip |
app.Response.Filter = new GZipStream(prevUncompressedStream, |
CompressionMode.Compress); |
app.Response.AppendHeader("Content-Encoding", "gzip"); |
} |
} |
0
yashvir karki
Top achievements
Rank 1
answered on 28 Aug 2009, 03:43 PM
Hi
When I run application from VS it runns perfectly fine but when I am running the published site then I am geting javascript error " 'Telerik' is undefined " as mentioned in posts above.
I am usign ASP.NET AJAX Q2 2009 and accroding to the last post I shouldn't get this error.
I also tried using ASP.net native script manager but with that I get java script error message in VS itself so no question of publishing the site.
I also tried adding code as mentioned above in global.asax... but still geting same javascript error.
Please help
Regards
Yash
When I run application from VS it runns perfectly fine but when I am running the published site then I am geting javascript error " 'Telerik' is undefined " as mentioned in posts above.
I am usign ASP.NET AJAX Q2 2009 and accroding to the last post I shouldn't get this error.
I also tried using ASP.net native script manager but with that I get java script error message in VS itself so no question of publishing the site.
I also tried adding code as mentioned above in global.asax... but still geting same javascript error.
Please help
Regards
Yash
0
Vesko
Top achievements
Rank 2
answered on 01 Sep 2009, 09:06 AM
Try the steps from this help topic:
http://www.telerik.com/help/aspnet-ajax/web-resources-troubleshooting.html
http://www.telerik.com/help/aspnet-ajax/web-resources-troubleshooting.html
0
yashvir karki
Top achievements
Rank 1
answered on 01 Sep 2009, 03:57 PM
Hey
Thanks for helping...
but while going through the steps I found that I don't have Telerik.Web.UI dll in my GAC instead I have Telerik.Web.UI.VSX dll.
I think I am missing a big thing here.... I tried to find out in telerik site if I missed any installation step but according to exe installation it does everything in background ... in same lines when I downloded I got "RadControls_for_ASP.NET_AJAX_2009_2_701_trial.msi" file and I just run it other than that I havn't done any configration.
I think some link is missing in between as dll for visual studio extention is there and application is running from visual studio.
But the published version is not running .... It seems there is a diffrent installation for production server? that I am not aware of....
Regards
Yash
Thanks for helping...
but while going through the steps I found that I don't have Telerik.Web.UI dll in my GAC instead I have Telerik.Web.UI.VSX dll.
I think I am missing a big thing here.... I tried to find out in telerik site if I missed any installation step but according to exe installation it does everything in background ... in same lines when I downloded I got "RadControls_for_ASP.NET_AJAX_2009_2_701_trial.msi" file and I just run it other than that I havn't done any configration.
I think some link is missing in between as dll for visual studio extention is there and application is running from visual studio.
But the published version is not running .... It seems there is a diffrent installation for production server? that I am not aware of....
Regards
Yash