469,271 Members | 1,494 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

.NET Page Collection in Javascript

149 100+
Hi,

I am trying to pass the pages control collection into a static method from Javascript, using AJAX web methods.

Is it possible to reference the .NET page control collection in Javascript and serialize it so that the static method can interpret the collection?

Thanks in advance.
Oct 17 '07 #1
3 956
acoder
16,027 Expert Mod 8TB
Can you post some code and also how it turns out on the client-side (what's available to JavaScript).
Oct 17 '07 #2
rsdev
149 100+
Can you post some code and also how it turns out on the client-side (what's available to JavaScript).
Hi Acoder,

Thanks for your response I have decided to take another route as serializing and de-serializing an object from server-side to client-side and back again seems like the long way round my problem. I have used an updatepanel and with asp button control to call a nonstatic method, which can reference the object server-side. Problem solved.
Oct 18 '07 #3
acoder
16,027 Expert Mod 8TB
Well, all well and good. It did seem like a server-side problem.
Oct 18 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.