How To remove asp.net registered array in ajax

nceadmin
nceadmin used Ask the Experts™
on
Dear Friends,
I have a aspx page , which i have some  controls on it.
In my Update panel , I want to refresh array values in my updatepanel's postback.

So each time , in my onpreRender Method , I have registered array values:
scriptmanager.registerArrayDeclaration(value);

but when I look at page source, there is only first values in my array...
AnyBody know what to do?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Thanks maulik
 You know, I tried RegisterArray with both script manager and client script....
But non of them worked.....

Anyway I called one of my friends last night and he asked me: "Why Don't You use a hidden field and fill it every time your panel postbak? then you can read your array every time by var arr=str.split(',');"

I think it is the best answer....

Author

Commented:
plz read my last comment

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial