佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 748|回复: 0

ajax question

[复制链接]
发表于 3-7-2007 11:19 PM | 显示全部楼层 |阅读模式
i have a asp.net web form.
i using asp.net ajax update panel.

But i have a question, is it the web control object must include inside the update panel, so only we can put c??

eg:

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>

        <asp:Button ID="Button1" runat="Server" Text="Refresh"  />
        <br />
        <br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="Server" UpdateMode="conditional">
        <ContentTemplate>
            Label within the Update Panel Refreshed at:
            <aspabel ID="Label1" runat="server"></aspabel>
        
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger C EventName="Click" />
        </Triggers>
      
        </asp:UpdatePanel>


This example is show us able to put button1 outside the updatepanel, but why in my project i fail to do it..


my 2nd question is, i also have a update panel, can i inside include many web control...example maybe more then 20 textbox and label...will it effect the performence?
because i had a 3 dropdownlist and many more textbox, but 1 of it every time i click on it...after select, my page will freeze a short while...but other 2 dropdownlist no problem, any idea??

对不起,用华语打有点难解释....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 13-9-2025 05:57 AM , Processed in 0.111904 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表