Deciding when to disable view state in your controls is obviously important if you are concerned about the size of your responses.
很明显,如果您关心响应大小,那么决定何时禁用控件的ViewState是重要的。
If you are not doing postbacks in a page or are always regenerating the controls on a page on each request, you should disable view state at the page level.
如果您不发回页,或者总是针对每个请求重新生成页上的控件,则应该在页级别禁用视图状态。
You can create multiple views and switch among them, and you can disable and enable a view to reveal and hide files as necessary.
可以创建多个视图并在它们之间切换,可以根据需要禁用和启用视图以显示和隐藏文件。
Unfortunately, if you want to use features like sorting, paging, or editing in the DataGrid, you cannot disable its view state.
遗憾的是,如果您想要使用DataGrid中诸如排序、分页或编辑的功能,则不能禁用其ViewState。
You can now select these features in the Install Configuration view and disable them.
现在您可以在InstallConfiguration视图中选择这些功能部件并禁用它们。
Another enhancement in version 8.0.1 is the ability to relax the type checking by wiring components together using the "Disable strict type checking" button in the wiring view.
版本的另一个改进是,使用连接视图中的“Disablestricttypechecking”按钮能够将组件连接在一起,从而减轻输入检查的负担。
Editors working on the fly from mobile devices will have to click a link reading "View this page on main Wikipedia" to disable the redirect.
通过移动设备工作的编辑者必须点击“Viewthispageonmain Wikipedia”来取消这种重定向。
View state is enabled for all server controls by default, but there are circumstances in which you will want to disable it.
默认情况下启用所有服务器控件的视图状态,但在有些情况下需要禁用视图状态。
View state is enabled for all server controls by default, but there are circumstances when you will want to disable it.
检视状态预设为对所有伺服器控制项都启用,但在有些情况下,您会想要停用它。
View state is enabled for all server controls by default, but there are circumstances when you will want to disable it.
检视状态预设为对所有伺服器控制项都启用,但在有些情况下,您会想要停用它。
应用推荐