PDA

View Full Version : error of web form button



sanaz_amiri
دوشنبه 28 اردیبهشت 1383, 09:59 صبح
Control 'Button4' of type 'Button' 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 'Button4' of type 'Button' 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.



سلام..ببخشید که زیاد سوال میکنم :cry:

می خوام روی صفحه ام webform button بذارم ...چند تا هم گذاشتم و درست کار می کنن
اما button های جدید دایم error بالا رو میده

من حتی دستی هم تو html کدشون رو می نویسم باز فرقی نداره....
:oops:

sanaz_amiri
دوشنبه 28 اردیبهشت 1383, 12:04 عصر
مشکل حل شد.... :)