继承模板页的页面,为什么无法使用服务器控件
显示错误如下;
Control 'ctl00_ContentPlaceHolder1_Button1 ' of type 'Button ' must be placed inside a form tag with runat=server
[解决办法]
你的按钮必须放在ContentPlaceHolder里面,注意HTML代码看看有没有误
发布时间: 2011-12-27 22:22:55 作者: rapoo
继承模板页的页面,为什么无法使用服务器控件
显示错误如下;
Control 'ctl00_ContentPlaceHolder1_Button1 ' of type 'Button ' must be placed inside a form tag with runat=server
[解决办法]
你的按钮必须放在ContentPlaceHolder里面,注意HTML代码看看有没有误