默认情况下 <asp:Button 生成的 HTML 控件是 <input type="submit"。
要生成 <input type="button" 这样的非提交性的按钮,怎么做呢?
给 <asp:Button 指定 UseSubmitBehavior 为 false,这样生成的就不再是提交按钮了。
相关阅读
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com