ScriptManager ServiceReference DropDownExtender





1
<asp:Panel ID="panelS" runat="server" CssClass="dropshow" Style="display: none; visibility: hidden; border:solid 1px #B5C4CC; width:384px;">
2
</asp:Panel>
3
<ajaxToolkit:DropDownExtender ID="ddd" runat="server" DropDownControlID="panelS"
4
TargetControlID="tbSearch">
5
</ajaxToolkit:DropDownExtender>

2

3

4

5

1
function setText()
2
{
3
requestSimpleService = Service.HelloWorld(
4
5
document.getElementById('ctl00__tbIndex').value,
6
7
document.getElementById('ctl00_tbSearch').value,
8
9
OnRequestComplete
10
11
);
12
13
return false;
14
}
15
16
function OnRequestComplete(result)
17
18
{
19
document.getElementById('ctl00_panelS').innerHTML=result;
20
document.getElementById('ctl00_panelS').style.display="block";
21
}

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21


人的一生应该这样度过:当他回首往事的时候,不会因为虚度年华而悔恨,也不会因为碌碌无为而羞愧。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步