disable vt. 1.使不中用,使无能 (from doing; for);使残废。 2.【法律】使无能力,使无资格。 Old age disabled him for hard labour. 年迈使他不能胜任繁重工作了。 I was disabled from walking by a fall. 我摔跤后连路也走不动了。 be disabled 成残废;(军舰)失去战斗力。 a disabled soldier 残废军人。 a disabled ship 废船。 n. -ment 无能;残废。
Developers sometimes want to disable view state to reduce the amount of data sent during a round trip 开发人员有时希望禁用视图状态,以减少一次往返行程中发送的数据量。
For instance , you can disable view state for certain devices , or use different themes based on the device that is accessing the page 例如,可以对特定设备禁用视图状态,或根据访问该页的设备使用不同的主题。
As in earlier versions of asp . net , if you disable view state , you must regenerate control content that is generated dynamically 就像在早期版本的asp . net中一样,如果禁用视图状态,您必须重新生成以动态方式生成的控件内容。
For example , if you are binding controls to data , when you disable view state , you must rebind the controls to data on each postback 例如,如果要将控件绑定到数据,那么在禁用视图状态后,必须在每次回发时重新将控件绑定到数据。
If you use controls that contain large amounts of data , you can improve efficiency with techniques such as custom paging or disabling view state 当开发人员使用控件处理大量的数据时,他们可以使用多种方法(例如自定义分页或禁用视图状态)来提高效率。
Here is an easier code , but it ' s for disabling viewing / browsing the directory , but it will lock the contents out , like not showing up in you own website ' s webpage 这一个是更加容易的代码,但它h会导致观察浏览目录内容的能力失去(内容将会被封锁) 。自个网站的网页也不能展示内容。