Register a java Array
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Im using asp 2.0 and I want to use thier new postback methods to populate dropdowns without postbacks. When a user selects a value from one dropdown, it repopulates the other dropdown. Can i have some help and ideas on how best to achieve this?
I think that you are not using ASP 2.0 at all, but ASP.NET 2.0. I Also think that you mean a Javascript array, not a Java array. ;) Use the Page.ClientScript.RegisterArrayDeclaration method to register an array in the client script. The method doesn't populate any dropdown for you, though. You still have to write the client script that uses the array to populate it.
--- b { font-weight: normal; }