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

asp.netʵÏÖÊ¡ÊÐÇø¼¶ÁªÏÂÀ­ÁÐ±í²¢±£´æ״̬

asp.netʵÏÖÊ¡ÊÐÁª¶¯²¢ÇÒ±£´æ״̬£¬ÊµÏÖÔ­Àí£º³õ´ÎʹÓÃC#´«Í³µÄDataBind½øÐÐÊý¾Ý°ó¶¨£¬Ñ¡ÔñÊ¡£¬Êкó½øÐÐajax·½Ê½¼ÓÔØϼ¶ÁÐ±í£¬²¢½«Ñ¡¶¨Öµ±£´æµ½HiddenÖУ¬µã»÷Ìá½»ºó¸ù¾ÝHiddenµÄÖµ½øÐÐÊ¡£¬Êа󶨣¬ÔÙ½«HiddenµÄÖµ¸³¸øDropDownListµÄSelectedValue£¬´Ó¶øʵÏÖ״̬µÄ±£´æ¡£
HTML´úÂë
<asp:HiddenField ID="HiddenFieldShiAreaId" runat="server" />
<asp:HiddenField ID="HiddenFieldQuAreaId" runat="server" />
<asp:HiddenField ID="HiddenAreaId" runat="server" />
<span class="searchDivP">ѧÉúÊ¡ÊУº</span>
<asp:DropDownList ID="DropDownListSheng" runat="server">
</asp:DropDownList>
<asp:DropDownList ID="DropDownListShi" runat="server">
</asp:DropDownList>
<asp:DropDownList ID="DropDownListQu" runat="server">
</asp:DropDownList>
javascript´úÂ루´Ë´¦Ê¹ÓÃjQuery£©
  $(document).ready(function() {
$("#DropDownListSheng").change(function() {
var buxianstr = "<option selected=\"selected\" value=\"0\">²»ÏÞ</option>";
loadArea("DropDownListShi", this.value);
});
$("#DropDownListShi").change(function() {
var areaid = this.value;
loadArea("DropDownListQu", this.value);
$("#HiddenFieldShiAreaId").val(areaid);
});
$("#DropDownListQu").change(function() {
$("#HiddenFieldQuAreaId").val(this.value);
});
});
function loadArea(objid, areaid) {
$.ajax({
type: "POST",
url: "../Friend/Friend.aspx?action=getshi",
dataType: "json",
data: "areaid=" + areaid,
success: function(msg) {
var shiHtml = "";
var selectstr = "";
shiHtml += "<op


Ïà¹ØÎĵµ£º

ASP.NETÖÐÔÚµã»÷°´Å¥ºó½«¸Ã°´Å¥ÉèΪ²»¿ÉÓõÄÈô¸ÉÇé¿ö

Ô­ÎÄ£ºÁõÎä|ASP.NETÖÐÔÚµã»÷°´Å¥ºó½«¸Ã°´Å¥ÉèΪ²»¿ÉÓõÄÈô¸ÉÇé¿ö
ÏîÄ¿Öо­³£³öÏÖÓû§Öظ´Ìá½»µÄÇé¿ö£¬ÎªÁË·ÀÖ¹ÕâÖÖÇé¿ö£¬×î³£Óõķ½·¨¾ÍÊÇÔÚÓû§µã»÷°´Å¥ºó½«¸Ã°´Å¥ÉèΪ²»¿ÉÓ㬱ÊÕßÔÚʵ¼Ê¿ª·¢µ±ÖÐÓöµ½Á˶àÖÖ²»Í¬µÄÇé¿ö£¬ÔÚ´Ë×ö¸öС½á£¬ÒÔ¹©²Î¿¼¡£
µÚÒ»ÖÖÇé¿öÊÇ·ÇsubmitÀàÐ͵İ´Å¥
ÕâÖÖÇé¿ö±È½Ï¼òµ¥£¬Ö»ÒªÔÚ¿Í»§¶ËÌí¼ÓÊ ......

DevExpress Asp.net(1) AspxButtonµÄ¿Í»§¶Ë²Ù×÷(ת)

20090626
javascriptµ÷Óø¸´°¿Ú£¨¸¸Ò³Ã棩µÄ·½·¨
window.parentÓëwindow.openerµÄÇø±ð javascriptµ÷ÓÃÖ÷´°¿Ú·½·¨
1£º   window.parent ÊÇiframeÒ³Ãæµ÷Óø¸Ò³Ãæ¶ÔÏó
2£º   window.opener ÊÇwindow.open ´ò¿ªµÄ×ÓÒ³Ãæµ÷Óø¸Ò³Ãæ¶ÔÏó
¾ßÌåÀý×ӾͲ»Ð´ÁË¡£
 
DevExpress.Web¿Ø¼þÖеÄAspxButtonµ ......

[ת]Asp.net 2.0Ò³ÃæÑùʽ¶ªÊ§×ܽá

תÔØ×Ô¡¾ÃÏ×ÓEÕ¡¿£ºhttp://blog.csdn.net/net_lover/archive/2007/08/27/1760521.aspx
¾­³£ÓÐÈËÓöµ½ASP.NET 2.0£¨ASP.NET 1.xÖпÉÄÜÊÇÓÐЧµÄ£©ÖÐCSSʧЧµÄÎÊÌ⣬ÏÖ½«Ö÷ÒªÔ­ÒòºÍ½â¾ö·½·¨ÂÞÁÐÈçÏ£º
1.CSSÎļþ·¾¶²»ÕýÈ·
    Õâ¸öÎÊÌâÊôÓÚWeb¿ª·¢ÖеĻù´¡ÎÊÌ⣬һ°ã²ÉÓÃÏà¶Ô·¾¶»á³öÏÖÕâÑùµÄÎÊÌ⣬»òÕßÑùÊ ......

ASP.NETÖÐÈçºÎµ¯³öÒ»¸öÏûÏ¢¿ò(ת)

¶¼ÖªµÀÔÚ¿Í»§諯ʹÓõ¯³ö¿òµÄÊDz»ÄÜÓÃMesssageBoxÀ´ÊµÏÖµÄ.
Ò»°ã¶¼Ê¹ÓÃÒÔϼ¸ÖÖ·½·¨.
1)    Button.Attributes.Add("onclick","javascript:return confirm('È·¶¨?');");
ÕâÖÖ·½·¨..ÏÖÔÚʹÓÃ×îµÄ¶à..
ÔÚwww.csdn.netÀïÓÐÒ»ÎÄÕ¾ͺܺÃ.
http://www.csdn.net/Develop/Read_Article.asp?Id=20892 ......

¹ØÓÚASP.NETÒ³Ãæ´òÓ¡¼¼ÊõµÄ×ܽá

ÍøÂç´òÓ¡¸ÅÊö
¡¡¡¡• B/S½á¹¹µ¼ÖÂÁËWebÓ¦ÓóÌÐòÖдòÓ¡µÄÌØÊâÐÔ¡£
¡¡¡¡• ³ÌÐòÔËÐÐÔÚä¯ÀÀÆ÷ÖУ¬´òÓ¡»úÔÚ±¾µØ£¬¶øÎļþÈ·¿ÉÄÜÔÚ·þÎñÆ÷ÉÏ£¬µ¼ÖÂÁË´òÓ¡¿ØÖƲ»ÊǺÜÁé»î¡£
¡¡¡¡• ¸ñʽÈçºÎ¿ØÖƺͶ¨ÖƵȣ¬ÊÇÎÒÃÇ¿ª·¢ÖпÉÄÜ»áÃæ¶ÔµÄÎÊÌâ¡£
¡¡¡¡´òÓ¡ÎĵµµÄÉú³É
¡¡¡¡• 1¡¢¿Í»§¶Ë½Å±¾·½Ê½
¡¡¡¡Ò»°ãÇé¿öÏ£¬Ö÷ÒªÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ