请专业人士帮忙翻译(英译中)——ASP.NET方面的 ,注:拒绝翻译器!!!

来源:百度知道 编辑:UC知道 时间:2024/09/24 23:21:41
View state refers to the page-level state management mechanism, which is utilized by the HTML pages emitted by ASP.NET applications to maintain the state of the web form controls and widgets. The state of the controls are encoded and sent to the server at every form submission in a hidden field known as __VIEWSTATE. The server sends back the variable so that when the page is re-rendered, the controls render at their last state. At the server side, the application might change the viewstate, if the processing results in updating the state of any control. The states of individual controls are decoded at the server, and are available for use in ASP.NET pages using the ViewState collection.[12] [13]
The main use for this is to preserve form information across postbacks. So if a user fills out a form but enters a wrong value, the form is automatically filled back in when the page is sent back to the user for correction. Since Viewstate is turned on by default and it serializes every ob

page-level视图状态是指国家管理机制,利用HTML页面发出的ASP . 网络应用程序来维护国家的网页表单控件和部件。国家控制的编码和发送到服务器,在每个表单提交隐藏在现场被称为_ VIEWSTATE。服务器发送回变量,这样当页面被re-rendered、控制在他们最后的渲染。在服务器端程序可能会改变,viewstate,如果处理的结果在更新的任何控制。美国的个人控制是在服务器,并且译码可供使用ASP . 使用ViewState净页收藏。[12][13]
主要用于这是保存信息在回发之间保持状态。所以如果用户填写表格,但进入了一个错误的值,形式是自动填充在当页面被送回用户申请更正。自从Viewstate是打开的,它serializes默认页面上的每个物体不管你实际使用它,它浪费数额巨大的空间和时间的转移。Viewstate在默认的情况下在每一页,但很少有人真正使用它。对于形式是更高效和直接送回来,只是手动形式你想保存价值。Viewstate也可以帮助建立一个动态页面自动更新自己,但阿贾克斯是一个更高效和清晰的捷径,实现这个目标的。

视图状态指的是页面级的国家管理机制,这是所用的HTML网页所发出的ASP.NET应用程序,以维护国家的Web窗体控件和工具。该国的控制编码和发送到服务器的每一个表单提交一个隐藏字段称为__VIEWSTATE 。服务器发回的变量,使网页时重新作出的控制使他们去年的状态。在服务器端,应用程序可能会改变的Viewstate ,如果处理结果在更新国家的任何控制。个别国家的控制解码器在服务器上,而且可用于ASP.NET页使用的Viewstate收集。 [ 12 ] [ 13 ]
主要用于这是维护整个postbacks形式的信息。因此,如果用户填写的一种形式,但进入了一个错误的价值,表格自动填充在网页时发回给用户更正。自的Viewstate是由系统默认设置,它序列每个对象在页面上不管你是否实际使用它,它浪费了极其大量的空间和增加转移次所有网站上。的Viewstate默认情况下的每个页面上,但很少是实际使用。它的形式是更有效和直接到手动发回的形式价值要维护。视图也可以帮助建立一个动态网页,会自动更新,但AJAX是一种更有效和明确的方式实现这一目标。