其实用UpdataPanel很简单就可以实现的,这里试试用javascript的方法
 DropDownList1代表年,DropDownList2代表月,DropDownList3代表日。
由于用到的是Dropdownlist服务器控件所以要在Page_Load添假相关代码:
Dropdownlist无刷新年月日选择 protected void Page_Load(object sender, EventArgs e)
    }

主要是javascript代码:
Dropdownlist无刷新年月日选择function change()
}
前台页面就是三个DropDownList控件:
Dropdownlist无刷新年月日选择<div style="text-align: center">
Dropdownlist无刷新年月日选择        
<asp:DropDownList ID="DropDownList1" runat="server">
Dropdownlist无刷新年月日选择        
</asp:DropDownList><span></span>
Dropdownlist无刷新年月日选择        
<asp:DropDownList ID="DropDownList2" runat="server" >
Dropdownlist无刷新年月日选择        
</asp:DropDownList><span></span>
Dropdownlist无刷新年月日选择        
<asp:DropDownList ID="DropDownList3" runat="server">
Dropdownlist无刷新年月日选择        
</asp:DropDownList><span></span>
Dropdownlist无刷新年月日选择    
</div>

相关文章:

  • 2021-12-12
  • 2021-10-11
  • 2022-12-23
  • 2022-01-07
  • 2021-10-23
  • 2021-06-28
  • 2021-05-20
猜你喜欢
  • 2021-12-04
  • 2021-08-30
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案