Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to pass addtional parameters to AutoCompleteExtender's ServiceMethod?

I am trying to create common web service method for all the autocomplete textboxes in my web apps.

I want to pass the source table name,the key to be retrived, and any filtring criteria to the web method.

Any hints/suggestions are appreciated.
Posted
Comments
Dalek Dave 12-Jan-11 7:39am    
This is a test Comment, please ignore.
Sandeep Mewara 12-Jan-11 7:55am    
This is my test comment after DD, please ignore this too.

Use Context Key Property of Auto complete Extender


UseContextKey="true" ContextKey="<%# Eval(ddlCostCentre.SelectedValue) %>"

and use contextkey value in service method
 
Share this answer
 
No you can't pass.
1. concatenate your parameters using a separator like # character or ~.
2. Then split it by that characater.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900