基于.NET的Ajax控件保值技术及其应用  被引量:4

Ajax Widget’s Value Keeping Technology Based on .NET and Its Application

在线阅读下载全文

作  者:谭建平[1] 王成良[1] 

机构地区:[1]重庆大学软件学院,重庆400044

出  处:《计算机工程》2008年第19期83-85,共3页Computer Engineering

摘  要:在页面内使用Ajax技术与服务器通信可提高Web应用的响应速度,但Web服务器控件引起的页面刷新导致整个页面回传后,页面的视图状态处理模型并没有记录Ajax控件在页面变化之前的值,造成Ajax控件值的丢失。该文提出一种状态保存机制,将Ajax控件状态值存储到服务器的Session或者客户端的userData中,使页面刷新后客户端的Ajax控件仍可保留原有值,保证控件状态的持续。The process will improve the response speed of Web application by using Ajax technology when Web pages communicate with Web server, however, when the Web pages refreshed by Web server widget, the view state process model of the Web page records Web server widget's state value does not record the Ajax widget's value and leads to the loss of the Ajax widget's value. This paper presents a new state value storage mechanism, which makes Ajax widget's state value be stored in the Web server session object or the user data object of the client side, so that the Ajax widget of the client side can still hold the same value after the Web page refreshed, which ensures the Ajax widgets state continuance.

关 键 词:Ajax控件 userData行为 会话 视图状态 状态保存机制 .NET技术 

分 类 号:TP302.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象