ورود

View Full Version : مبتدی: مشکل استفاده از کنترل منو



majid_3ma
پنج شنبه 22 مهر 1389, 10:19 صبح
سلام من وقتی کنترل منو رو به یوزر وب کنترل اضافه و یا هر جا دیگه اضافه میکنم به کل ارور میده
Control 'BodyContent_Menu1' of type 'Menu' 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 'BodyContent_Menu1' of type 'Menu' 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. مشکل از کجاست؟

raziee
پنج شنبه 22 مهر 1389, 11:34 صبح
Control 'BodyContent_Menu1' of type 'Menu' must be placed inside a form tag with runat=server.
متن خطا خودش داره میگه بدبخت.
کنترلتون رو بگذارید داخل تگ form .