all groups > dotnet web services > february 2008 >
You're in the

dotnet web services

group:

newbie question


Re: newbie question Spam Catcher
2/27/2008 12:00:00 AM
dotnet web services:
<news.microsoft.com> wrote in news:OEZUH5XeIHA.4140@TK2MSFTNGP04.phx.gbl:

[quoted text, click to view]

What sort of "datasource"? XML? Text? Objects? etc.



--
Re: newbie question Spam Catcher
2/27/2008 12:00:00 AM
"newguy" <noemail@here.com> wrote in
news:#UKLBhYeIHA.5164@TK2MSFTNGP03.phx.gbl:

[quoted text, click to view]

Yes, your WebMethod could return an object (i.e. list of all options). Your
javascript can use that object and populate your dropdowns appropriately
wtihout hitting the server multiple times.

In fact, you don't necessarily need to use AJAX for Cascading menus if you
don't have too many options...

--
newbie question <news.microsoft.com>
2/27/2008 1:21:02 PM
Hello,

I was wondering if anyone knows of a way or can point me to some
documentaion that shows how I can send a datasource into a webservice.

Thanks

Re: newbie question newguy
2/27/2008 2:32:27 PM
I am using Ajax to create Cascading Dropdowns. There will be a lot of them.
I have it working currently but for each dropdown I need to have a
webMethod. I was thinking if I could send in my datasource I could possible
create a few generic webmethods to handle all Cascading Dropdowns.



Thanks again

[quoted text, click to view]

AddThis Social Bookmark Button