Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

c#(asp.net) updatepanel ¾Ö²¿Ë¢ÐÂʵÀýÊÕ²Ø

1
<asp:UpdatePanelID="UpdatePanel1"
        UpdateMode="Conditional"
        runat="server">
    <ContentTemplate>
        <asp:Button ID="Button1"
            Text="RefreshPanel"
            runat="server"/>
    </ContentTemplate>
</asp:UpdatePanel>
2
<%@ Register Assembly="Microsoft.Web.Atlas" Namespace="Microsoft.Web.UI" TagPrefix="cc1" %>
    <cc1:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True">
    </cc1:ScriptManager>
<asp:DropDownList ID="aaa" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlthumbnail_SelectedIndexChanged">
                        </asp:DropDownList>
                        <cc1:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:Label ID="lblatnail" runat="server" Text="" Visible=false></asp:Label>
                                <asp:LinkButton ID="lbtnatnail" runat="server" Visible=false>View</asp:LinkButton>&


Ïà¹ØÎĵµ£º

Asp.net UI Performance tuning

1.using gizp compress page ,gif file can't be compressed.
2.put script at the bottom,and put css at the top.
3.make the css and js external.
4.load-on-demand.(If a UI block need to show by control.Set visibable=false. and enableviewstate=true,override the saveviewstate method.)
5.remove the dupl ......

Asp.netÖзÀÖ¹Óû§¶à´ÎµÇ¼µÄ·½·¨


ÔÚweb¿ª·¢Ê±£¬ÓеÄϵͳҪÇóͬһ¸öÓû§ÔÚͬһʱ¼äÖ»ÄܵǼһ´Î£¬Ò²¾ÍÊÇÈç¹ûÒ»¸öÓû§ÒѾ­µÇ¼ÁË£¬ÔÚÍ˳ö֮ǰÈç¹ûÔٴεǼµÄ»°ÐèÒª±¨´í¡£
³£¼ûµÄ´¦Àí·½·¨ÊÇ£¬ÔÚÓû§µÇ¼ʱ£¬ÅжϴËÓû§ÊÇ·ñÒѾ­ÔÚApplicationÖдæÔÚ£¬Èç¹û´æÔھͱ¨´í£¬²»´æÔڵĻ°¾Í¼Óµ½ApplicationÖÐ(ApplicationÊÇËùÓÐSession¹²Óеģ¬Õû¸öwebÓ¦ÓóÌÐòΨһµÄÒ ......

̽ÌÖASP.NET MVC¿ò¼ÜÄÚÖÃAJAXÖ§³Ö±à³Ì¼¼Êõ


´«Í³ÐÍASP.NET Web FormsÊÇ»ùÓÚͬʱ°üº¬Á˱íÏÖ²ãºÍºǫ́´úÂëµÄWebÒ³Ã棬ËùÒÔ£¬½ôËæÆäºó³öÏÖµÄASP.NET AJAX£¬ÌرðÊÇÕâ¸ö¿ò¼ÜµÄ·þÎñÆ÷¶Ë¿Ø¼þ²¢Ã»ÓÐÏñËüÃDZ¾Ó¦¸ÃµÄÄÇÑù¹ââËÄÉä¡£ÓÚÊÇ£¬ºÜ¶à¸úËæAJAXʱ÷ÖµÄASP.NET¿ª·¢ÕßÖ»ÊÇÏòASP.NETÒ³ÃæÖÐËæÒâµØ·ÅÖÃһЩUpdatePanel¿Ø¼þÒÔ±ãʹÆä³ÌÐòʵÏÖ»ù±¾µÄAJAXÖ§³Ö¡£Êµ¼Ê ......

ÔÚASP.NETÖÐÖ§³Ö¶ÏµãÐø´«ÏÂÔØ´óÎļþ(ZT)

IEµÄ×Ô´øÏÂÔع¦ÄÜÖÐûÓжϵãÐø´«¹¦ÄÜ£¬ÒªÊµÏֶϵãÐø´«¹¦ÄÜ£¬ÐèÒªÓõ½HTTPЭÒéÖÐÏÊΪÈËÖªµÄ¼¸¸öÏìӦͷºÍÇëÇóÍ·¡£
Ò». Á½¸ö±ØÒªÏìӦͷAccept-Ranges¡¢ETag
        ¿Í»§¶Ëÿ´ÎÌá½»ÏÂÔØÇëÇóʱ£¬·þÎñ¶Ë¶¼ÒªÌí¼ÓÕâÁ½¸öÏìӦͷ£¬ÒÔ±£Ö¤¿Í»§¶ËºÍ·þÎñ¶Ë½«´ËÏÂÔØʶ±ðΪ¿ÉÒԶϵãÐø´«µÄÏÂÔØ£º ......

Asp.netÖжàÓïÑÔµÄʵÏÖ

1.Ê×ÏȵÃÏÈÁ˽âÏÂÃæµÄ֪ʶ£º
  
   Á˽âÒ»¸öÃû´Ê:±í´ïʽÓï·¨
   ±í´ïʽÓï·¨¸ñʽ£º<%$ ... %>
   ËüÊÇASP.NET2.0ÐÂÔöÁËÒ»ÖÖÉùÃ÷ÐÔ±í´ïʽÓï·¨£¬¿ÉÔÚ·ÖÎöҳ֮ǰ½«ÖµÌæ»»µ½Ò³ÖÐ.
   ASP.NET±í´ïʽÊÇ»ùÓÚÔËÐÐʱ¼ÆËãµÄÐÅÏ¢ÉèÖÿؼþÊôÐÔµÄÒ»ÖÖÉùÃ÷ÐÔ·½Ê½.
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ