In attempting to use a treeview control that will use LoadOnDemand and get data from a web service that I have written, I tried to point the treeview to a web service in a different domain. Since I was attempting a cross-domain request, I got an error.
So, I have been researching proxy services, and how to use them.
I have created a web reference in my application that is using the treeview. That web reference points to the web service I created. But, how do I hook this to the treeview? Do I have to create an .asmx file in my application, and use that to "wrap" the functionality of the web service (then point the Path property of the treeview's WebServiceSettings entry to the new asmx file).
Or, is this approach completely wrong?
I haven't found a good explaination for this but, I hope it isn't too dumb of a question.
Thanks.
So, I have been researching proxy services, and how to use them.
I have created a web reference in my application that is using the treeview. That web reference points to the web service I created. But, how do I hook this to the treeview? Do I have to create an .asmx file in my application, and use that to "wrap" the functionality of the web service (then point the Path property of the treeview's WebServiceSettings entry to the new asmx file).
Or, is this approach completely wrong?
I haven't found a good explaination for this but, I hope it isn't too dumb of a question.
Thanks.