I want to evaluate the radScheduler component. I have dowloanded the latest version of Prometheus.
I only put a on a radScheduler component on a form with a datasource but at exection I obtain the following popup message :
'Telerik' is undefined
The code generated is :
...
</div><div class="rsFooter">
<a class="rsFullTime" href="#">Show 24 hours...</a>
</div><script type="text/javascript">
Telerik.Web.UI.RadScheduler.FixHeight("RadScheduler1");
<
PS : My global settings for my machine are "French".
Best regards,
46 Answers, 1 is accepted
We have encountered such an error before. "Telerik" is undefined indicates that for some reason the JavaScript files which support RadScheduler (and the whole "Prometheus" suite) are not loaded.
Could you please open a formal support ticket and attach your page there? It will help us trace the problem and provide a solution
Greetings,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have encountered such an error before. "Telerik" is undefined indicates that for some reason the JavaScript files which support RadScheduler (and the whole "Prometheus" suite) are not loaded.
Could you please open a formal support ticket and attach your page there? It will help us trace the problem and provide a solution
Greetings,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Problem solved.
On another machine it's ok. The problem seems to come from my Visual Studio.
Best regards,
'Telerik" is Undefined
I have a basic page, within a master page, a web control and the rad scheduler.
attached is the form page
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" title="Untitled Page" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<%@ Register Src="BulletinBanner.ascx" TagName="BulletinBanner" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<uc1:BulletinBanner ID="HomeBulletinBanner" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rsDefault">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rsDefault" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<br />
<telerik:RadScheduler ID="rsDefault" runat="server" AllowDelete="False" AllowEdit="False">
</telerik:RadScheduler>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"
Width="75px">
<asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif" />
</telerik:RadAjaxLoadingPanel>
</asp:Content>
This is the codebehind:
Option Explicit On
Option Strict On
Imports System.Data
Partial Class _Default
Inherits SecurityClass
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
PageSecurityLevel = 1
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
HomeBulletinBanner.Pagename = PageName
If Not Page.IsPostBack Then
getCalendarData()
End If
End Sub
Private Sub getCalendarData()
Dim myBal As New BAL
Dim myDs As DataSet
Dim dCurMonthStartDate As Date
Dim dCurMonthEndDate As Date
Try
dCurMonthStartDate = Date.Parse(Now.Month.ToString & " " & "01, " & Now.Year.ToString)
dCurMonthEndDate = GetMonthEndDate(Now.Month, Now.Year)
myDs = myBal.GetPromos(dCurMonthStartDate, dCurMonthEndDate)
rsDefault.DataSource = myDs
rsDefault.DataKeyField = "EventID"
rsDefault.DataStartField = "StartDate"
rsDefault.DataSubjectField = "Title"
rsDefault.DataEndField = "EndDate"
rsDefault.DataBind()
Catch ex As Exception
Throw
End Try
End Sub
End Class
D.
There is a help topic for RadMenu which treats the same issue. Please, consider case #2 from this article as well as the "See also" links at the bottom.
I hope this helps.
Greetings,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Dave,
I fixed my problem by adding code to my web.config file. I looked into the examples that Telerik provides for Prometheus. I ran the solution, and it worked. So that told me that it was not a problem with my box.
I looked at the web.config file in the examples, and noticed a lot of code that was not in mine. So bascialy I copied that parts mine did not contain that applied only to the script manager, and the scheduler. I obviously didnt copy over any appsettings or connection strings. And that seemed to work for me....
Here is what my web.config file looks like now...
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<add key="M360WS.M360WebService" value="http://localhost/Marketing360/Webservice/M360WebService.asmx"/>
<add key="webdev.AppAuth" value="http://webdev/WS_AppAuth/AppAuth.asmx"/>
</appSettings>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<compilation debug="true" strict="false" explicit="true">
<assemblies>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<!--BELOW This was copied from the example code-->
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.2.1010.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
<add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.2.1010.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
<add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2007.2.1010.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<!--ABOVE This was copied from the example code-->
<pages>
<!--BELOW This was copied from the example code-->
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
<!--ABOVE This was copied from the example code-->
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/>
<add namespace="System.Web.UI.WebControls.WebParts"/>
<add namespace="System.Web.UI.HtmlControls"/>
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
<!--BELOW This was copied from the example code-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<!--ABOVE This was copied from the example code-->
</configuration>
HOPE THIS HELPS
Sheepdog out....
I figured it out why my case was failing.. If we specify a
ScriptManager.ScriptPath = <some path>
telerik's location gets overrided and it fails to find the scripts.
Gotta luv it :)
Cheers.
D.
I got this error, but resolved it by changing the LoadScriptsBeforeUI attribute in ScriptManager. It was false, but changing it to true prevented this error.
This is a shame as I did really want to load the majority of the UI before the scripts. Pretty sure this is better for SEO benefits too.
LoadScriptsBeforeUI="true" />
D.
The problem could be caused by the web.config settings. You need to include the settings for a new ASP.NET Ajax Web Site. Have you checked this?
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
D.
I am getting the same problem.
'Telerik' is undefined.
This deos not happen in my VS 2008 development environment. However it does occur in my "Test" environment.
I have checked and re-checked my web.config and it contains all the necessary sections for an Ajax enabled website.
Any ideas ?
Kind Regards
David
Did anyone manage to isolate the problem in a simple web site? This would of great help to find what is causing this error.
Regards,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
It seems quite difficult to isolatre in a test project however you can see it happening at http://daresoft.no-ip.co.uk/McDiamonds
Please note that it is running from my loft so can be quite slow, but it does get there in the end.
Perhaps you can see what is happening from the "View Source".
Kind Regards
David
http://dev.netmasons.com/teleriktesting
If anyone has solved this bug please let me know.
Thanks
If you are using RadScriptManager and you receive the "Telerik is undefined" error the http handler is probably not registered in your web.config. Please check for the presence of:
<httpHandlers> |
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" /> |
</httpHandlers> |
Regards,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am using hte RadScriptManager, and this line is inserted into my web.config file.
Any other ideas ?
Kind ERgards
David
I have come to a dead-end trying to figure this out and it is the only thing I can come up with. I also create the ScriptManager on the page dynamically during the Page_Init routine. I have used other vendors controls supporting Microsoft Ajax and they work with my method - but prefer Telerik's codebase - actually I wish I could just use Telerik's Ajax - but prometheus seems to be the roadmap.
hope this helps narrow it down some.
This may or may not help any of you with the same problem.
My FIX (hooray) for this problem was to include the language="javascript" property in a <script> tag in the <head> tag block.
This has fixed two of my websites so I am now a very happy man and might just go down the pub.
Kind Regards
David
I might have been a little bit premature in my celebrations. I didn't go to the pub when my websites seemsed to be working, but stayed and played around with them. It seems that the problem has returned.
I have two projects that are exhibiting this error.
1. A .NET 2.0 VS 2005 website
2. A .NET 3.5 VS 2008 project
I also have a third project which does not exhibit this phenomena.
So ... What next to try ?
Kind REgards
David
After inspecting your site I found out that requesting http://84.65.125.118:8083/McDiamonds/Telerik.Web.UI.WebResource.axd returns 404 for some reason.
This URL is rendered by RadScriptManager and represents the http handler serving JavaScript resources. The 404 error is effectively causing the "Telerik is undefined" error because no telerik scripts have been loaded. It also appears that some other HTTP handler ThumbHandler.ashx also returns 404. I have attached a screenshot from FireBug. It seems to me that http handlers do not work for some reason despite they are registered in the web.config. Maybe it's because you are web application is running in Integrated mode (IIS7).
You can try inserting the http handler registration inside <system.webServer> instead of <system.web>:
<system.webServer> |
<httpHandlers> |
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" /> |
</httpHandlers> |
</system.webServer> |
I hope this helps,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This has helped enourmously.
In IIS7 against the Website in question you can add Handlers. I added the two offending handlers and off the website went without the offending message.
This is great.
Thanks
David
I have been playing with the new Prometheus code and I have the "Telerik is undefined" error in my project as well. I have tried all of the solutions suggested in this post and I don't have an OutputCache page directive anywhere in my site. Are you still working on resolutions for this problem? I would love to start using Prometheus but am waiting to do so until I can resolve this problem. Thanks for your help!
Michael
Could you provide more information such as specifying your web server, operating system, exact version of Telerik.Web.UI and which controls you use? A live url demonstrating the problem would be very helpful as well.
Best wishes,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
<location path="Telerik.Web.UI.WebResource.axd"> |
<system.web> |
<authorization> |
<allow users="*"/> |
</authorization> |
</system.web> |
</location> |
Add the telerik WebResource handler below to the system.WebServer section of your web.config
<system.webServer>
< handlers>
<
add name="Telerik.Web.UI.WebResource.axd_" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />
</system.webServer>
</
handlers>
I have this project loaded on:
IIIS 5.1
IIS 7
ASP.NET Development Server (VS virtual server)
It works on IIS 5.1 and ASP.NET Development Server but not on IIS7 for some reason. Could this be the reason why it is not working? Does Telerik support Vista yet?
Thanks in advance
RadControls for ASP.NET Ajax fully support Vista and IIS7. Please review this help topic for more info about HTTP handler registration.
Regards,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I was running my site on IIS 6 and everything worked fine. But after installing Windows Server 2008 and thereby also IIS 7 i got this problem.
I found out that my problem was caused by how the application pools act in IIS 7 by default.
An application pool is set to run "Integrated" managed pipeline Mode. This causes this error to. From IIs manager you must switch over to Classic managed pipeline mode to get the telerik radmenu to work again!
Hope this might help somebody if they encounter same problem as i did!
:-)
that was the trick... AppPool... sheez!! such an easy thing... such a pain to find! THANKS so much!!
wardeaux
To do so you just need to add the Telerik handlers to the <handlers> section of <system.webserver>, give them a 'name' attribute (it doesn't matter what), remove the 'validate="false"' attribute and add a preCondition="integratedMode" attribute. You will need to do this for at least the webresource handler and if you use the telerik editor, also the spellcheckhandler and dialoghandler.
e.g. you end up with
<system.webServer> |
<validation validateIntegratedModeConfiguration="false"/> |
<modules> |
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
</modules> |
<handlers> |
<remove name="WebServiceHandlerFactory-Integrated"/> |
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
<add name="WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
preCondition="integratedMode" /> |
<add name="SpellCheckHandler" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
preCondition="integratedMode"/> |
<add name="DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
preCondition="integratedMode" /> |
</handlers> |
</system.webServer> |
where the last three items are the handlers you have to add, the rest having been automatically added by Telerik (I don't know why the last three are not auto added!).
Darren
Hello guys,
Please check this new blog post which sheds more light on the discussed issue.
Regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication2._Default" %> | |
<%@ Register Assembly="Telerik.Web.UI, Version=2008.2.723.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head runat="server"> | |
<title>Untitled Page</title> | |
</head> | |
<body> | |
<form id="form1" runat="server"> | |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="AutoDetect"> | |
</telerik:RadScriptManager> | |
<div> | |
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" EnableEmbeddedScripts="false" RenderSelectedPageOnly="true" SelectedIndex="1"> | |
<telerik:RadPageView ID="RadPageView1" runat="server"> | |
RadPageView 1 | |
</telerik:RadPageView> | |
<telerik:RadPageView ID="RadPageView2" runat="server"> | |
RadPageView 2 | |
</telerik:RadPageView> | |
<telerik:RadPageView ID="RadPageView3" runat="server"> | |
RadPageView 3 | |
</telerik:RadPageView> | |
</telerik:RadMultiPage> | |
</div> | |
</form> | |
</body> | |
</html> | |
Maybe it saves someone time searching for a solution.
Greetings!
By default JavaScript files are served as web resources (embedded in the Telerik.Web.UI.dll assembly).
For custom deployment scenarios you can specify an alternative location for JavaScript files. To do so you should set the EnableEmbeddedScripts property to false. Then, the JavaScript files will not be loaded from the assembly.
You will also need to add a script reference for each JavaScript file through the ScriptManager or RadScriptManager.
A list of the JavaScript files used by RadMultiPage for ASP.NET AJAX can be found below. You need to register only the JavaScript files required by the controls you are currently using. Common JavaScript files (e.g. Core.js) should be registered only once.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
<Scripts> |
<asp:ScriptReference Path="~/Scripts/Common/Core.js" /> |
<asp:ScriptReference Path="~/Scripts/TabStrip/MultiPage/RadMultiPageScripts.js" /> |
</Scripts> |
</telerik:RadScriptManager> |
All JavaScript files are available in the distribution (EXE, ZIP and hotfix) of RadControls' "Scripts" folder.
Note that the order of the js files registered for most of RadControls is important since there are some dependencies between the javascript files of a single control. Therefore it is recommended to follow the exact order of the script references from the table below.
All the best,
Paul
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Just thought I'd post in case someone forgot like me.
The web part works great on my test machine; which is a virtual machine with Windows 2003 Server, SQL Server 2005 and SharePoint 2007. When I deploy the web part to my production SharePoint server, it also works greate with my Windows XP operating system and IE6. (I know most of the software I mention is older, but not all corporations have moved to Vista.)
Some of my users who have Windows 2000 were getting the error "Telerik is undefined" after navigating to the page that had the web part deployed on the page. Not all of them, but enough to be problematic. Those users that were having the problem, it was found that if they go to TOOLS --> INTERNET OPTIONS --> GENERAL tab and click the "Delete Files" under the Temporary Internet Files section, close down all browsers, open a browser and navigate back to the same page, the tabs, the grids, command item templates, and paging all work every time. But how can you require that a user perform this action every time they navigate to the page? Well, the answer is "you can't and shouldn't".
Luckly, I have some bright users who enjoy tinkering. One of them who was helping me test, clicked on the menu TOOLS --> INTERNET OPTIONS --> ADVANCED tab and just started reading all the options that were available on the ADVANCED tab. He found one named "Do not save encrypted pages to disk". He checked it, closed the browser, restarted a browser session, navigated to the page with the web part and it worked. He closed the browser and navigated several more times to the page and it worked. He found the problem.
Now the funny part, my browser had the option unchecked and it worked every time. The difference is I am using Windows XP and he is using Windows 2000. We are both using IE6. Apparently the browsers handle encrypted pages differently. I should mention, that I discovered, by looking at the HTML source, that not all of the page was encrypted, just certain parts (I assume which are javascript for the Telerik product). Because a certain part of the page is encrypted, I cannot tell what it is doing or what generated it. But it must be cached and used the next time the user tries to open the page.
Anyway, what solved my problem. Just check this option "Do not save encrypted pages to disk" on Windows 2000 workstations, and the "Telerik is undefined" error goes away.
By the way, I am using the 2008.1.515.35 version of the grid.
now it is work (Telerik is Undefined)
Best Wishes
Ahmad Abdan
Request Path
Telerik.Web.UI.WebResource.axd
Type
Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=(your version), Culture=neutral, PublicKeyToken=(from your web.config)
Name
Telerik
Worked for me!
Thanks
Apparently my web.config file is missing :
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
and missing;
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
Once I put them in, the error is gone! Thanks again!