PDA

View Full Version : مشکل در اجرای تلریک



sara_orkide
شنبه 05 مهر 1393, 15:20 عصر
سلام من یه سایت با تلریک دارم به تازگی loud نمیشه تو firebug بهم پیغام ASP.NET Ajax client-side framework failed to load و ReferenceError: Sys is not defined و ReferenceError: Telerik is not defined میده کسی میتونه راهنماییم کنه
متشکرم

moferferi
دوشنبه 07 مهر 1393, 15:47 عصر
سلام.اگه سایت بالا نمیاد احتمال زیاد مربوط به عدم تعریف کامپوننت در فایل web.config هست.فایل وب کانفیگ را بررسی کنید ببینید خط هایی که مربوط به این کامپوننت هست پاک نشده باشه.

meysam94
پنج شنبه 08 آبان 1393, 14:16 عصر
منم همین مشکل رو دارم و وقتی که برنامه رو اجرا میکنم این خطا رو میده .


Server Error in '/Hospital ASP' Application.



The control with ID 'RadContextMenu1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The control with ID 'RadContextMenu1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Source Error:




An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.




Stack Trace:



[InvalidOperationException: The control with ID 'RadContextMenu1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Co ntrol control) +336
Telerik.Web.UI.RadDataBoundControl.get_ScriptManag er() +54
Telerik.Web.UI.RadDataBoundControl.RegisterScriptC ontrol() +59
Telerik.Web.UI.RadDataBoundControl.ControlPreRende r() +31
Telerik.Web.UI.RadDataBoundControl.OnPreRender(Eve ntArgs e) +47
System.Web.UI.Control.PreRenderRecursiveInternal() +83
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929



باید چیکارش کنم که درست شه ؟

moferferi
شنبه 10 آبان 1393, 08:54 صبح
سلام
این پیغام خطا که مشخصه
شما قبل از اینکه کنترل مورد نظر را به صفحه اضافه کنی ابتدا کنترل RadScriptManager را بزار

کنترل های تلریک برای لود و اجرا نیاز به RadScriptManager دارند

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>