1
<asp:TextBox ID="TextBox5" runat="server" Height="30px" Width="68px"></asp:TextBox>
<ajaxToolkit:DropDownExtender ID="TextBox5_DropDownExtender" runat="server"
DynamicServicePath="" Enabled="True" TargetControlID="TextBox5">
</ajaxToolkit:DropDownExtender>
//this.TextBox5_DropDownExtender ????
YearList.Items.Add(DateTime.Today.AddYears(-i).ToString("yyyy"));
問題:這個DropDownExtender的項目在哪裏?ajaxToolkit:DropDownExtender其中是項目?
好的...看起來像奇怪的控制:S – Cynede 2010-03-15 13:14:52
@nCdy - 看到這裏的整頁示例:http://asp-net-example.blogspot.com/2009/12/ajax-dropdownextender-how-to -use.html – 2010-03-15 13:23:38
但這個列表似乎不可點擊:( – Cynede 2010-03-15 13:36:04