By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,566 Members | 1,664 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,566 IT Pros & Developers. It's quick & easy.

.NET Page Collection in Javascript

100+
P: 149
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
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Can you post some code and also how it turns out on the client-side (what's available to JavaScript).
Oct 17 '07 #2

100+
P: 149
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
Expert Mod 15k+
P: 16,027
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.