1
我在asp.net頁面上的下拉列表控件上有一個斷點。但是當我從列表框中選擇一個項目時,它不會被激活。我在這裏錯過了什麼?dorpdownlist SelectedIndexChanged斷點不觸發
onselectedindexchanged="ddlProjectSearchID_SelectedIndexChanged"
protected void ddlProjectSearchID_SelectedIndexChanged(object sender, EventArgs e)
{
ClientScript.RegisterClientScriptBlock(typeof(string), "key", string.Format("alert('{0}');", DateTime.Now.Day), true);
}
我知道這簡直是荒謬的事情。謝謝 – LearningCSharp