Asp.netʵÓü¼ÇÉд°¿ÚÖдò¿ªÒ³ÃæAPI
1.ÔÚд°¿ÚÖдò¿ªÒ³Ãæ
ÎÒÃǾ³£ÐèÒªÔÚµã»÷ij¸öButtonµÄʱºò´ò¿ªÒ»¸öеÄÒ³Ã棬¶øÇÒÓÉÓÚÓ¦ÓõÄÐèÒª£¬ÎÒÃÇÓÖ²»ÄÜʹÓ󬼶Á¬½Ó»òÕßLinkButtonÀ´´úÌæÕâ¸ö
Button£¬ÓÚÊÇÎÒÃÇÖ»ÓÐÔÚButtonµÄClickʼþÖнøÐÐÐÂÒ³ÃæµÄ´ò¿ª¹¤×÷¡£ÎÒ½«Õâ¸ö¹¤×÷·â×°³ÉÒ»¸öAPI£¬ÈçÏ£º
1
OpenWindowInNewPage
#region
OpenWindowInNewPage
2
//
ÔÚд°¿ÚÖдò¿ªÒ³Ãæ
3
public
static
void
OpenWindowInNewPage(Page curPage ,
string
destUrl)
4
{
5
string
scriptString
=
string
.Format(
"
<script language='JavaScript'>window.open('
"
+
"
{0}
"
+
"
','_new');<
"
,destUrl) ;
6
scriptString
+=
"
/
"
;
7
scriptString
+=
"
script>
"
;
8
if
(
!
curPage.IsStartupScriptRegistered(
"
Startup
"
))
9
{
10
curPage.RegisterStartupScript(
"
Startup
"
, scriptString);
11
}
12
}
13
#endregion
2.Èç¹ûÐèÒª´ò¿ª¹Ì¶¨´óСµÄÒ³Ã棬¿ÉÒÔʹÓÃÈçÏÂAPI
Ïà¹ØÎĵµ£º
ËÄ¡¢ÈçºÎ£ºÖ¸¶¨ÊÇ·ñ½« ASP.NET Web ·þÎñÆ÷¿Ø¼þ·¢Ë͵½·þÎñÆ÷
ĬÈÏÇé¿öÏ£¬Óû§ÔÚ ASP.NET ÍøÒ³ÖÐÖ¸¶¨µÄÐÅÏ¢ºÍÑ¡Ôñ²»»áÁ¢¼´·¢Ë͵½·þÎñÆ÷¡£¶øÊÇÖ»ÔÚ·¢ËÍÕû¸öҳʱ·¢ËÍÖµ£¬²¢ÇÒͨ³£ÊÇÔÚÏìÓ¦°´Å¥µ¥»÷ʱ·¢Éú¡£µ«ÊÇ£¬Äú¿ÉÄܻᷢÏÖËüÔÚÏò·þÎñÆ÷Á¢¼´·¢ËÍÓû§¸ü¸Äʱ·Ç³£ÓÐÓá£
Á¢¼´½«¿Ø¼þÖµ·¢Ë͵½·þÎ ......
Áù¡¢ASP.NET Web ·þÎñÆ÷¿Ø¼þÖÐµÄ Tab ¼ü˳Ðò¡¢½¹µãºÍ·ÃÎʼü
ÈôÒªÔöÇ¿ÔÚ ASP.NET ÍøÒ³ÖÐʹÓÿؼþµÄÓû§ÌåÑ飬¿ÉÒÔÖ¸¶¨Óû§Í¨¹ý°´ Tab ¼üÏÔʾ ASP.NET Web ·þÎñÆ÷¿Ø¼þµÄ˳Ðò£¬²¢¿ÉÒÔÖ¸¶¨×î³õ´ò¿ªÒ³Ê±Ò³ÉϵÄÄĸö¿Ø¼þ¾ßÓн¹µã¡£
1¡¢Tab ¼ü˳Ðò
µ±ÔÚä¯ÀÀÆ÷ÖÐÏÔʾҳʱ£¬Óû§¿ÉÒÔʹÓà ......
°Ë¡¢ASP.NET Web ·þÎñÆ÷¿Ø¼þÄ£°å
´ó¶àÊý Web ·þÎñÆ÷¿Ø¼þ¾ßÓÐĬÈϵIJ¼¾ÖºÍÍâ¹Û£¬µ«ÊÇÄú¿ÉÒÔͨ¹ýÉèÖÃÊôÐÔ»òʹÓÃÑùʽÀ´²Ù×ÝËüÃÇ¡£²¿·Ö Web ·þÎñÆ÷¿Ø¼þ»¹ÔÊÐíÄúʹÓÃÄ£°åÀ´×Ô¶¨ÒåÆäÍâ¹Û¡£
Ä£°åÊÇÒ»×é HTML ÔªËغͿؼþ£¬ËüÃǹ¹³É¿Ø¼þÌض¨²¿·ÖµÄ²¼¾Ö¡£ÀýÈ磬ÔÚ DataList Web ·þÎñÆ÷¿Ø¼þÖУ¬Äú¿ÉÒ ......
ÔÚASP.NET ÖÐʵÏÖµ¥µãµÇ¼
³ö×Ô£º¡¾ÃÏÏÜ»áÖ®¾«²ÊÊÀ½ç¡¿ ·¢²¼ÈÕÆÚ£º2005Äê1ÔÂ27ÈÕ 8µã48·Ö0Ãë
ÓÉÓÚijЩÔÒò£¬ÔÚÎÒÃǵÄÓ¦ÓÃÖлáÓöµ½Ò»¸öÓû§Ö»ÄÜÔÚÒ»¸öµØ·½µÇ¼µÄÇé¿ö£¬Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù˵µÄµ¥µãµÇ¼¡£ÔÚASP.NETÖÐʵÏÖµ¥µãµÇ¼ÆäʵºÜ¼òµ¥£¬ÏÂÃæ¾Í°ÑÖ÷ÒªµÄ·½·¨ºÍÈ«²¿´úÂë½øÐзÖÎö¡£
ʵÏÖ˼·
ÀûÓÃCacheµÄ¹¦ÄÜ ......