国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
C# ajax局部刷新頁面【asp.net中的ajax控件、很好用】

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

   
protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text
= "Refreshed at " +
            DateTime.Now.ToString();
    }
</script>

<html  >
<head runat="server">
   
<title>Untitled Page</title>
   
<style type="text/css">
    #UpdatePanel1 {
      width:300px; height:100px;
     }
   
</style>
</head>
<body>
   
<form id="form1" runat="server">
   
<div style="padding-top: 10px">
       
<asp:ScriptManager ID="ScriptManager1" runat="server">
       
</asp:ScriptManager>
       
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
           
<ContentTemplate>
               
<fieldset>//斜體字為要局部刷新的代碼、粗黑體字為必托控件
               
<legend>UpdatePanel</legend>
               
<asp:Label ID="Label1" runat="server" Text="Panel created."></asp:Label><br />
               
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
               
</fieldset>
           
</ContentTemplate>
       
</asp:UpdatePanel>
       
<br />
       
</div>

   
</div>
   
</form>
</body>
</html>

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
UpdatePanel終于可以上傳文件了!
ASP.NET AJAX入門
ScriptManager 類
[轉(zhuǎn)] ASP.NET AJAX中的嵌套UpdatePanel - 陳老師空間 - 博客園
ASP.NET AJAX入門系列(11):在多個(gè)UpdatePanle中使用Timer控件
ASP.NET AJAX入門系列(4):使用UpdatePanel控件(一)
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服