如何删除表格标签 [英] How to remove table tag
本文介绍了如何删除表格标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何删除围绕formview控件的表标记?
How can I remove table tag around formview control?
推荐答案
在4.0版中引入了一个名为RenderOuterTable
的新属性,用于修改控件输出. > 默认值为 true .如果将其设置为 false ,则会改为呈现 div 标记(或任何内容都不取决于控件).
以下是在其周围呈现表格标签的控件的列表:
ChangePassword
CreateUserWizard
FomView
登录
密码恢复
向导
您可以像这样修改控制输出:
in version 4.0 introduces a new attribute namedRenderOuterTable
that modifies the control output.
default value is true. if you set it to false it renders a div tag instead(or nothing depends on control).
here is a list of controls that render table tag around them:
ChangePassword
CreateUserWizard
FomView
Login
PasswordRecovery
Wizard
you can modifiy the control output like this:
<asp:Wizard runat="server" RenderOuterTable="false">
</asp:Wizard>
这篇关于如何删除表格标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文