15 Mart 2012 Perşembe

Control 'ctl00_ContentPlaceHolder1_FileUpload1 Hatası


Control 'ctl00_ContentPlaceHolder1_FileUpload1' of type 'FileUpload' 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 'ctl00_ContentPlaceHolder1_FileUpload1' of type 'FileUpload' must be placed inside a form tag with runat=server.

ASP NET te Karşılaştığım ilk hata


Eğer Bu Hata ile karşılaşıyorsanız Master Page niz varsa içerisinde form kodu var mı yok mu varsa yeri yanlış yazılmış olabilir veya 2 tane form koduda yazılmış olabilir çalışan MasterPage Kodunun örneği aşağıdadır

Hiç yorum yok:

Yorum Gönder