asp.net controls not persistent

ASP.NET controls such as dropdown box and textbox does not retain its value during post back. In other words, they are not persistent. Don’t know what could be causing this. Viewstate is enabled on the control and postback is enable. When I change the dropdown, the code never enters the dropdownlist change event. Instead a post is called and the value are reset. I am dynamically populating the value in page load though, which I think should work fine.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s