I was looking into some web page, and I found out that it uses some ashx file for autocomplete. This is the javascript method:
$("#txtKeyword").autocomplete("xml/autocomplete.ashx", {
selectFirst: false, scroll: true, extraParams:{type:1}
});
Now what I’m trying to do is to call this file from windows phone app, is that possible?
Yes, it is possible. You can call it like you would call any other webpage (using WebClient for instance). You just need know which parameters must be transmitted to the ashx page. If you can’t get them by reading the js, I suggest using Firefox’s addon Firebug, or the developper mode of IE, to capture the request.