طبق ویدئوی4 آموزش asp.netدر یوتیوب هنگام استفاده از RequiredFieldValidator پیغام خطای مرتبط با کد نمایش داده نمیشه ولی در ادامه اجرا پیغام زیر توی صفحه وب میاد ،مشکل چی هست؟
Server Error in '/' Application.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
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: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

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: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).]
System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() +3004496
System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() +12
System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +9864767
System.Web.UI.Control.PreRenderRecursiveInternal() +90
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906

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



جدیدترین سوالات



طبق ویدئوی4 آموزش asp.netدر یوتیوب هنگام استفاده از RequiredFieldValidator پیغام خطای مرتبط با کد نمایش داده نمیشه ولی در ادامه اجرا پیغام زیر توی صفحه وب میاد ،مشکل چی هست؟
Server Error in '/' Application.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
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: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

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: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).]
System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() +3004496
System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() +12
System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +9864767
System.Web.UI.Control.PreRenderRecursiveInternal() +90
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906

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


جستجو در بانک سوالات
در این قسمت می توانید بخشی از متن سوال را وارد نموده و به دنبال سوال مورد نظر خود بگردید:

بخشی از متن سوال:

database in master page

آقا یه مشکل جدید پیش اومد

من از مستر پیج استفاده کردم تو صفحه دیگه که از مستر پیج استفاده کرده از دیتا بیس استفاده کردم مثلا این :
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection (ConfigurationManager.ConnectionStrin gs["Thing"].ConnectionString);
SqlCommand cm = new SqlCommand ("InsertToRegister", cn);
cm.CommandType = CommandType.StoredProcedure;


cm.Parameters.AddWithValue ("@name", TextBox5.Text);
cm.Parameters.AddWithValue ("@pass", TextBox5.Text);
cm.Parameters.AddWithValue ("@email", TextBox5.Text);
cm.Parameters.AddWithValue ("@contact", TextBox5.Text);
cm.Parameters.AddWithValue ("@subject", TextBox5.Text);


cn.Open();
cm.ExecuteNonQuery();
DataSet ds = new DataSet();
cn.Close();

}
این دستور تو یه صفحه دیگه که از مستر پیج استفاده نمیکنه کار میکنه ولی تو این صفجه اصلا کدهای text و button اصلان کار نمیکنن دیباگ کردم دیدم بجای این کدها میره توی مستر پیج و page_load اون رو اجرا میکنه بعد دز میاد .............. حالا چیکار کنم این کد ها توی webform With Master Page هم اجرا بشه

باز اگه به ایمیلم جواب بیاد ممنون میشم



0
امتیاز

جوابی برای این سوال در دست نیست!




جواب تو چیه؟
userImage
کاربر میهمان








پرسش سوال جدید :: تبلیغات در سوال و جواب :: گروه های سوال و جوابی

تمامی حقوق مادی و معنوی، متعلق به وب سایت سوال جواب (soja.ai) و تیم مدیریتی آن می باشد.

طراحی و اجرا : گروه مشاوران فناوری اطلاعات

پاسخ های موجود در سایت توسط کاربران سایت ثبت می شود،
سایت سوال و جواب هیچ مسئولیتی در قبال صحت و محتوی پاسخ ها ندارد، هرچند تا حد امکان نظارت بر محتوی آنها صورت می گیرد.