如何动态地将参数/控制传递给contextKey?
<asp:TextBox ID="tbA" runat="server" autocomplete="off"></asp:TextBox>
<asp:TextBox ID="tbB" runat="server">hello</asp:TextBox>
<asp:TextBox ID="tbC" runat="server">world</asp:TextBox>
<cc1:AutoCompleteExtender ID="aceListA" ServiceMethod="myListServiceA" ServicePath="WebService.asmx" TargetControlID="tbA" runat="server" EnableCaching="true" UseContextKey="true"> </cc1:AutoCompleteExtender>
[WebMethod]
public string[] myListServiceA(string prefixText, int count, string contextKey)
Run Code Online (Sandbox Code Playgroud)
因为我想在Web服务级别检查tbB,tbC.我已经读过这篇文章 5次,但仍然没有理解,每半个人都缺少完整的代码.