I've recently converted an ASP.NET 2.0 application to 3.5 and have been trying to add telerik.
vs2013 & Telerik asp.net ajax v2015.1.401.35
Recently converted an ASP.NET 2.0 web application to 3.5 and it runs fine.
I've used the telerik wizard to add the necessary bits to web.config.
Tried replacing the scriptmanager with RadScriptManager, but that errors with
JavaScript critical error at line 4, column 1 in http://localhost/iWebTest/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=3.5.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:eb198dbd-2212-44f6-bb15-882bde414f00:ea597d4b:b25378d2;Telerik.Web.UI:en-US:bfbc94e0-0f9b-4d52-9983-75ffc518eea7:16e4e7cd:f7645509:22a6274a\n\nSCRIPT1002: Syntax error
so reverted to normal scriptmanager for now until that can be resolved.
Created a new web form, added a radtextbox and a button then in click event in the code behind I tried to retrieve the textbox.text value.. it just returns the original value, not the changed one..
What the heck have I done wrong ?
8 Answers, 1 is accepted
Hello Adrian,
I advise that you follow this article: http://docs.telerik.com/devtools/aspnet-ajax/general-information/adding-the-telerik-controls-to-your-project.
It is important to first get MS AJAX working, i.e., have the needed WebResource handlers and references. You should firsts be able to use asp:UpdatePanels to initiate AJAX requests without script errors.
Afterwards, just add and reference our assemblies and copy the HTTP handlers we use from this article: http://docs.telerik.com/devtools/aspnet-ajax/general-information/web-config-settings-overview#mandatory-additions-to-the-webconfig.
Regards,
Telerik

I have a page that uses a standard update panel, which works just fine without errors.
I've added my web.config below (some lines removed for security)
The script manager is on the masterpage if that makes a difference?
<?
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
>
<
configSections
>
<
sectionGroup
name
=
"system.web.extensions"
type
=
"System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
sectionGroup
name
=
"scripting"
type
=
"System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
section
name
=
"scriptResourceHandler"
type
=
"System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
sectionGroup
name
=
"webServices"
type
=
"System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
section
name
=
"jsonSerialization"
type
=
"System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"Everywhere"
/>
<
section
name
=
"profileService"
type
=
"System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
section
name
=
"authenticationService"
type
=
"System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
section
name
=
"roleService"
type
=
"System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
</
sectionGroup
>
</
sectionGroup
>
</
sectionGroup
>
<
sectionGroup
name
=
"viewStateSetting"
>
<
section
name
=
"viewstate"
type
=
"System.Web.UI.ViewStateConfigurationHandler"
/>
</
sectionGroup
>
<
sectionGroup
name
=
"applicationSettings"
type
=
"System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<
section
name
=
"My.MySettings"
type
=
"System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission
=
"false"
/>
</
sectionGroup
>
</
configSections
>
<
viewStateSetting
>
<
viewstate
defaultProvider
=
"SqlViewStateProvider"
>
<
providers
>
<
add
name
=
"SqlViewStateProvider"
type
=
"System.Web.Configuration.Providers.SqlViewStateProvider"
/>
</
providers
>
</
viewstate
>
</
viewStateSetting
>
<
location
path
=
"default.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
<
location
path
=
"secure/Login.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
<
location
path
=
"RecoverPassword.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
<
location
path
=
"logout.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
<
location
path
=
"ApplicationError.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
<
system.web
>
<
caching
>
<
outputCache
enableOutputCache
=
"false"
enableFragmentCache
=
"false"
sendCacheControlHeader
=
"false"
omitVaryStar
=
"false"
/>
</
caching
>
<
pages
masterPageFile
=
""
>
<
controls
>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI"
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
namespace
=
"AjaxControlToolkit"
assembly
=
"AjaxControlToolkit"
tagPrefix
=
"ajaxToolkit"
/>
<
add
namespace
=
"IAW.controls"
assembly
=
"iWeb"
tagPrefix
=
"iaw"
/>
<
add
namespace
=
"System.Web.UI.WebControls"
assembly
=
"iWeb"
tagPrefix
=
"iaw"
/>
<!-- USER CONTROLS -->
<
add
src
=
"~/UserControls/AjaxProgress.ascx"
tagName
=
"ajaxProgress"
tagPrefix
=
"iaw"
/>
<
add
src
=
"~/UserControls/Paging.ascx"
tagName
=
"paging"
tagPrefix
=
"iaw"
/>
<
add
src
=
"~/UserControls/wuc_list.ascx"
tagName
=
"wuc_list"
tagPrefix
=
"iaw"
/>
<
add
src
=
"~/UserControls/IAWList.ascx"
tagName
=
"IAWList"
tagPrefix
=
"iaw"
/>
<
add
src
=
"~/UserControls/wuc_data.ascx"
tagName
=
"wuc_data"
tagPrefix
=
"iaw"
/>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI.WebControls"
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
tagPrefix
=
"telerik"
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
/>
</
controls
>
<
namespaces
>
<
clear
/>
<
add
namespace
=
"System"
/>
<
add
namespace
=
"System.Collections"
/>
<
add
namespace
=
"System.Collections.Generic"
/>
<
add
namespace
=
"System.Collections.Specialized"
/>
<
add
namespace
=
"System.Configuration"
/>
<
add
namespace
=
"System.Text"
/>
<
add
namespace
=
"System.Text.RegularExpressions"
/>
<
add
namespace
=
"System.Linq"
/>
<
add
namespace
=
"System.Xml.Linq"
/>
<
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
>
<
trace
enabled
=
"false"
localOnly
=
"true"
pageOutput
=
"false"
requestLimit
=
"10"
/>
<
siteMap
defaultProvider
=
"IawSiteMap"
>
<
providers
>
<
add
name
=
"IawSiteMap"
type
=
"IawSiteMapProvider"
/>
</
providers
>
</
siteMap
>
<!--
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
>
-->
<
httpHandlers
>
<
remove
verb
=
"*"
path
=
"*.asmx"
/>
<
add
verb
=
"*"
path
=
"*.asmx"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"*"
path
=
"*_AppService.axd"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate
=
"false"
/>
<
add
verb
=
"*"
path
=
"logout.aspx"
type
=
"IAW.httphandlers.HttpHandler_Logout"
/>
<
add
verb
=
"*"
path
=
"PersonalPhoto.aspx"
type
=
"IAW.httphandlers.HttpHandler_Photo"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"ScriptModule"
type
=
"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"PageModule"
type
=
"IAW.httpmodules.PageModule"
/>
<
add
name
=
"AuthenticationModule"
type
=
"IAW.httpmodules.AuthenticationModule"
/>
<
add
name
=
"AuthorisationModule"
type
=
"IAW.httpmodules.AuthorisationModule"
/>
</
httpModules
>
<!-- Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
--><
compilation
debug
=
"true"
strict
=
"false"
explicit
=
"true"
>
<
assemblies
>
<
add
assembly
=
"System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"Microsoft.Build.Framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
assembly
=
"System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
assemblies
>
<
buildProviders
>
<
add
extension
=
".asbx"
type
=
"Microsoft.Web.Services.BridgeBuildProvider"
/>
</
buildProviders
>
</
compilation
>
<!-- The <
authentication
> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<
authorization
>
<
deny
users
=
"?"
/>
</
authorization
>
<!--
The <
authentication
> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
--><
authentication
mode
=
"Forms"
>
<
forms
name
=
".IawAUTH"
loginUrl
=
"~/secure/Login.aspx"
protection
=
"All"
timeout
=
"25"
slidingExpiration
=
"true"
/>
</
authentication
>
<!--
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
>
-->
<
customErrors
mode
=
"RemoteOnly"
defaultRedirect
=
"~/ApplicationError.aspx"
>
<
error
statusCode
=
"404"
redirect
=
"FileNotFound.htm"
/>
</
customErrors
>
<!--
Increase the max request queue length to stop 503 errors
-->
<
httpRuntime
appRequestQueueLimit
=
"6000"
/>
<
sessionState
mode
=
"InProc"
/>
<
identity
impersonate
=
"false"
/>
</
system.web
>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
--><
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
>
<
remove
name
=
"ScriptModule"
/>
<
add
name
=
"ScriptModule"
preCondition
=
"managedHandler"
type
=
"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"PageModule"
type
=
"IAW.httpmodules.PageModule"
preCondition
=
"managedHandler"
/>
<
add
name
=
"AuthenticationModule"
type
=
"IAW.httpmodules.AuthenticationModule"
preCondition
=
"managedHandler"
/>
<
add
name
=
"AuthorisationModule"
type
=
"IAW.httpmodules.AuthorisationModule"
preCondition
=
"managedHandler"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"WebServiceHandlerFactory-Integrated"
/>
<
remove
name
=
"ScriptHandlerFactory"
/>
<
remove
name
=
"ScriptHandlerFactoryAppServices"
/>
<
remove
name
=
"ScriptResource"
/>
<
remove
name
=
"ChartImage_axd"
/>
<
remove
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
/>
<
remove
name
=
"Telerik_Web_UI_DialogHandler_aspx"
/>
<
remove
name
=
"Telerik_RadUploadProgressHandler_ashx"
/>
<
remove
name
=
"Telerik_Web_UI_WebResource_axd"
/>
<
add
name
=
"PersonalPhoto.aspx_*"
path
=
"PersonalPhoto.aspx"
verb
=
"*"
type
=
"IAW.httphandlers.HttpHandler_Photo"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"logout.aspx_*"
path
=
"logout.aspx"
verb
=
"*"
type
=
"IAW.httphandlers.HttpHandler_Logout"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"ScriptResource.axd_GET,HEAD"
path
=
"ScriptResource.axd"
verb
=
"GET,HEAD"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"*_AppService.axd_*"
path
=
"*_AppService.axd"
verb
=
"*"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"*.asmx_*"
path
=
"*.asmx"
verb
=
"*"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"ScriptHandlerFactory"
verb
=
"*"
path
=
"*.asmx"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptHandlerFactoryAppServices"
verb
=
"*"
path
=
"*_AppService.axd"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptResource"
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
preCondition
=
"integratedMode"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ChartImage_axd"
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_RadUploadProgressHandler_ashx"
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
</
handlers
>
<
caching
>
<
profiles
>
<
add
extension
=
".aspx"
policy
=
"DontCache"
kernelCachePolicy
=
"DontCache"
/>
</
profiles
>
</
caching
>
</
system.webServer
>
<
applicationSettings
>
<
My.MySettings
>
</
My.MySettings
>
</
applicationSettings
>
<
system.codedom
>
<
compilers
>
<
compiler
language
=
"vb;vbs;visualbasic;vbscript"
extension
=
".vb"
type
=
"Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
warningLevel
=
"4"
>
<
providerOption
name
=
"CompilerVersion"
value
=
"v3.5"
/>
<
providerOption
name
=
"OptionInfer"
value
=
"true"
/>
<
providerOption
name
=
"WarnAsError"
value
=
"false"
/>
</
compiler
>
</
compilers
>
</
system.codedom
>
<
runtime
>
<
assemblyBinding
appliesTo
=
"v2.0.50727"
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"System.Web.Extensions"
publicKeyToken
=
"31bf3856ad364e35"
/>
<
bindingRedirect
oldVersion
=
"1.0.0.0-1.1.0.0"
newVersion
=
"3.5.0.0"
/>
</
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"System.Web.Extensions.Design"
publicKeyToken
=
"31bf3856ad364e35"
/>
<
bindingRedirect
oldVersion
=
"1.0.0.0-1.1.0.0"
newVersion
=
"3.5.0.0"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
<
appSettings
>
<
add
key
=
"Telerik.Skin"
value
=
"Office2007"
/>
<
add
key
=
"Telerik.ScriptManager.TelerikCdn"
value
=
"Disabled"
/>
<
add
key
=
"Telerik.StyleSheetManager.TelerikCdn"
value
=
"Disabled"
/>
</
appSettings
>
<
connectionStrings
/>
</
configuration
>
Hello Adrian,
Remove the runtimeVersionv2.0 instruction from the Telerik handlers, because this causes IIS to skip them for .NET 3.5 and above.
Then add a location element for the handlers in use to allow access to them because authentication will block them otherwise. You can find an example here: http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/general-troubleshooting#using-the-telerik-controls-with-radscriptmanager-on-your-login-page-throws-an-error.
Also, if this does not help, remove the AjaxControlToolkit from your project (make sure to also delete the assemblies from the bin, not just their references) and test again, because it is known to cause issues by modifying core MS AJAX scripts: http://www.telerik.com/forums/telerik-ui-for-asp-net-ajax-and-ajax-control-toolkit.
Regards,
Telerik

Ok, removed the runtimeversion2's and removed the ajax control toolkit, but it's still having problems.
Trying to use the RadScriptManager still brings up the same script error, and the textbox still contains the original value.
When looking at the properties for the textbox in debug mode, the text is set to the original, but the LastSetTextBoxValue is set to the new changed value.
Hi Adrian,
Have you tried adding location elements for the handlers? For example:
<
location
path
=
"Telerik.Web.UI.WebResource.axd"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
If you get script errors, it should be expected that the controls will not function properly. With authentication enabled, which will prevent access to the webresources handlers, the controls will not be able to download their scripts, so script errors are to be expected.
Another way you can avoid this is by enabling the scripts CDN: http://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/cdn-support/overview.
Regards,
Marin BratanovTelerik

I already added the location element (as it was listed in that page you sent).
Can't use the CDN as the site is hosted by several customers on intranets with no access to the outside world.
As long as I use the standard script manager, I don't get any script errors, I only get the error I listed in the original post if I attempt to use the RadScriptManager
Hello,
Most likely, something goes wrong with the request RadScriptManager generates, because it combines the requests. If the ones from the asp:ScriptManager pass, you can use that.
On a side note - you can host a CDN on your own site for intranet use: http://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/cdn-support/custom-cdn-provider.
Regards,
Telerik

Finally found what we'd done wrong.. because we're using the standard scriptmanager, we have to add the following...
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
/>
</
Scripts
>
</
asp:ScriptManager
>
The textboxes then have the correct values in them.