on 02-05-2006 12:46 AM
Hi,
I am working in .Net PDK 1.0.I have a country and a state dropdown in my page. When I select the country, state must be populated for the selected country.Country is also loaded dynamically on page load
But I am facing this problem while using dropdown controls. When I select a country, server side event triggers but both my country and state dropdown gets cleared. Can someone tell why this happens. Do I have to bind the country and state dropdown everytime i hit the server.
Please reply asap.
Thanks
swetha
Thanks Reshef...
If I have to bind it everytime, I need to store the datatable in memory. I work in a clustered environment and I found a limitation in MSDN stating that Application and session objects should not be used for state management. I can't use a cookie since I need to store a datatable. Please let me know what are the other alternatives for state management.
Thanks
Swetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The .NET PDK controls does not save the viewstate of collection controls due to performance considerations (bandwidth). (simple controls such as InputField save state).
This means that u indeed have to data bind each time.
Hope this helps, Reshef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.