الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

new textbox

مغلق
بدأه rozalina في 16 يوليو 2004 · 1 رد · 576 مشاهدة · في Microsoft Visual C#.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Server Error in '/WebApplication6' Application.

--------------------------------------------------------------------------------

Control '_ctl0' of type 'RadioButton' must be placed inside a form tag with runat=server.

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.Web.HttpException: Control '_ctl0' of type 'RadioButton' must be placed inside a form tag with runat=server.

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:

[HttpException (0x80004005): Control '_ctl0' of type 'RadioButton' must be placed inside a form tag with runat=server.]

System.Web.UI.Page.VerifyRenderingInServerForm(Control control) +152

System.Web.UI.WebControls.CheckBox.Render(HtmlTextWriter writer) +40

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72

System.Web.UI.Control.Render(HtmlTextWriter writer) +7

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Page.ProcessRequestMain() +1900

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0

#2
اقتباس
Control '_ctl0' of type 'RadioButton' must be placed inside a form tag with runat=server

لعلك وضعت الكود HTML الخاص بالradiobutton الذي تريد تكوينه خارج المنطقة المخصصة لكود الserver form.

فكر بطريقة أخرى

هذا الموضوع مغلق.

مواضيع مشابهة