Sunday, March 11, 2012

aps.net ajax control toolkit autocomplete - send filter

Hi Robbyro,

My understanding of your issue is that you want send a parameter back to the WebService when it is called by the AutoCompleteExtender. Then the WebService will generate the sendback items according to the Parameter.If I have misunderstood, please feel free to let me know.

Based on this knowledge, I think the best way is use $find("your AutoCompleteExtender's BehaviorID").set_contextkey("your parameter"); Also you should modify your WebService like this.

[WebMethod]
public string[] GetCompletionList(string prefixText, int count,string contextKey)
{
}

For more,please visit thisthread.

I hope this help.

Best regards,

Jonathan

No comments:

Post a Comment