RadAjax使用


添加引用(组件附于文件中):
<%@ Register TagPrefix="rada" Namespace="Telerik.WebControls" Assembly="RadAjax" %>

将控件放于radajaxmanager中:
<rada:radajaxmanager id="RadAjaxManager1" runat="server">
   <AjaxSettings>
    <rada:AjaxSetting AjaxControlID="WebControl1">
     <UpdatedControls>
      <rada:AjaxUpdatedControl ControlID="WebControl2" LoadingPanelID="LoadingPanel1" />
     </UpdatedControls>
    </rada:AjaxSetting>
   </AjaxSettings>
 </rada:radajaxmanager>


说明:当触发WebControl1的事件时,改变WebControl2为异步。

你可能感兴趣的:(Ajax)