asp.net×öµÄwapÍøÕ¾£¬×Ô¶¯×ªÏòÎÊÌâ
ÎÒÓÃasp.netÒƶ¯¿Ø¼þ( <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>)×öµÄwapÍøÕ¾£¬ÔÚweb.configÀïÃæ¼ÓÈëÁË:
<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<use var="HTTP_USER_AGENT"/>
preferredRenderingType = "wml11"
preferredRenderingMime = "text/vnd.wap.wml"
preferredImageMime = "image/vnd.wap.wbmp"
</browserCaps>
Ç¿ÖÆת»»Îªwml¸ñʽ¡£
ÎÒÏÖÔÚÊÇÏëʵÏֵŦÄÜÊÇ£ºµ±Óû§·ÃÎʵ½ÎÒµÄÍøÕ¾£¬ÔÙµãºóÍ˼ü¾Í²»ÄÜÍ˻ص½ÔÍøÕ¾¡£
ÎÒÊÇÕâôÏëµÄ£ºÎÒµÄÍøվĬÈÏÊ×Ò³ÊÇindex.aspx£¬ÏÖÔÚÏëÔÚindex.aspxÒ³Ãæ×öÒ»¸ö×Ô¶¯×ªÏò¹¦ÄÜ£¬Ìøתתµ½default.aspx£¬°Ñdefault.aspxµ±³Éʵ¼ÊÏÔʾµÄÊ×Ò³¡£ÕâÑù£¬µ±±ðÈË·ÃÎʵ½ÎÒµÄÍøÕ¾£¬ÒòΪ×Ô¶¯×ªÏòµÄÔÒò£¬µãºóÍË»¹ÊÇ»áÍ˻ص½default.aspx¡£
ÊÔ¹ýÁËResponse.Redirect²»ÐС£
Õâ¸öÒ²²»ÐУº
string strRedirectPage = "default.aspx";
string strRedirectTime = "1";
string strRedirect = string.Format("{0};url={1}", strRedirectTime, strRedirectPage);
Response.AddHeader("refresh", str
Ïà¹ØÎÊ´ð£º
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
ÎÒÔÚºǫ́µ÷ÓÃJavaScriptµÄʱºò£¬ËûÊÇÔÚºǫ́°ÑʼþµÄ´úÂëÖ´ÐÐÒ»´ÎºóÔÚÖ´ÐÐJavaScript·½·¨
ÓÐʲô°ì·¨ ÔÚÖ´ÐÐJavaScript·½·¨µÄʱºòͣס£¬ÔÚÖ´ÐкóÃæµÄ´úÂë
²»Ì«Ã÷°×°¡£¬ËµÇå³þµã°É
¾ÍÊÇÖ´Ðкǫ́´úÂëµÄʱºò ......
ASP.NETÈçºÎÓÃÒ»¸ö°´Å¥ÊµÏÖÑ¡ÔñÎļþ¼Ð·¾¶µ½Îı¾¿òÖУ¿£¨×¢ÒâÊÇÎļþ¼Ð·¾¶£¬²»ÊÇÎļþ·¾¶£©
http://blog.csdn.net/xianfajushi/archive/2008/10/18/3094474.aspx
Õâ²»ÊÇÎÒÒªµÄЧ¹û£¬ÎÒÒªÓõÄÊÇÀàËÆÓÚÎļþÉÏ´«¿ÉÒ ......
asp.net ajaxÖÐupdatepanelÀïÃæµÄ¿Ø¼þÀïÃæÓиöbuttonºÍÈô¸Étextbox
ÎÒµã»÷buttonÑéÖ¤ÐÅÏ¢³öÏÖ£¬µ«ÊǾÍÊÇÎÞ·¨À¹½ØÎÒbuttonºóÃæÔËÐеÄʼþ£¡
ÑéÖ¤µÄ´úÂëÊÇJSÑéÖ¤»¹ÊÇ.netÖеÄÑéÖ¤¿Ø¼þ£¬»òÊÇ°´Å¥Ê¼þÖеĺǫ́ÑéÖ¤£¿
......
<table style="width: 1000px"><tr>
<td style="height: 38px; width: 35px;">
ÐÕÃû</td>
......