Hello,
Tank you for your replay, but I already tried do it, but if I disable the telerik jquery usage, an exception was thrown for each telerik js files. The exception message is: "Microsoft JScript runtime error: Object doesn't support this property or method"
I got the exception only for the home page. I don't get the exception for another page that using telerik component or/and other jquery ui.
Here is my _Layout file:
@
using Telerik.Web.Mvc.UI;
@
using Telerik.Web.Mvc;
@{
//resources
Html.AppendScriptParts(@Url.Content(
"~/Scripts/public.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery.validate.unobtrusive.min.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery.validate.min.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery.unobtrusive-ajax.min.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery-1.7.1.min.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery.jcarousel.pack.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery-1.1.2.pack.js"));
Html.AppendScriptParts(@Url.Content(
"~/Scripts/jquery-1.7.2.min.js"));
Html.EnableClientValidation(
true);
Html.EnableUnobtrusiveJavaScript(
true);
Html.ValidationSummary(
true);
}
<!
DOCTYPE html>
<
html @Html.Partial("LanguageAttributes")>
<
head>
<title>@Html.Title(true)</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta name="description" content="@(Html.MetaDescription())" />
<meta name="keywords" content="@(Html.MetaKeywords())" />
Html.Partial("Head")
@Html.Action(
"RssHeaderLink", "News")
@Html.Action(
"RssHeaderLink", "Blog")
@Html.Action(
"Favicon", "Common")
@
if (displayMiniProfiler)
{
@MvcMiniProfiler.
MiniProfiler.RenderIncludes();
}
</
head>
<
body>
<div class="master-wrapper-page">
<div class="master-wrapper-content">
@Html.Partial(
"_Notifications")
@Html.Partial(
"Header")
@Html.Partial(
"HeaderMenu")
@RenderBody()
<div class="clear">
</div>
</div>
@Html.Action(
"Footer", "Common")
</div>
</
body>
@(Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group
.Add(
"newTelerikCommonStyle.css")
.Add(
"newTelerikTelerikStyle.css")
.Add(
"newTelerikRtlStyle.css")
.Add(
"telerik.examples.min.css")
))
@(Html.Telerik().ScriptRegistrar()
.jQuery(
false)
// .jQueryValidation(false)
)
</
html>
Thanks,
Yocheved