Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ajax AutoCompleteXtender。。我可以将两个字符串传递给我的webmethod吗?_Ajax_Autocompleteextender - Fatal编程技术网

Ajax AutoCompleteXtender。。我可以将两个字符串传递给我的webmethod吗?

Ajax AutoCompleteXtender。。我可以将两个字符串传递给我的webmethod吗?,ajax,autocompleteextender,Ajax,Autocompleteextender,我把一个字符串传递给我的webmethod,它会自动完成一个很好的框 但是现在我需要传递两个字符串来帮助过滤结果。最好的方法是什么?考虑使用ContextKey发送第二个字符串。在这种情况下,您需要在webmethod签名中添加第三个参数。您能告诉我如何为contextKey赋值吗?

我把一个字符串传递给我的webmethod,它会自动完成一个很好的框


但是现在我需要传递两个字符串来帮助过滤结果。最好的方法是什么?

考虑使用ContextKey发送第二个字符串。在这种情况下,您需要在webmethod签名中添加第三个参数。

您能告诉我如何为contextKey赋值吗?