Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01320389
Message ID:
01320397
Views:
14
>>Hi everybody,
>>
>>I have a drop down list on my page and a FormView inside the MultiView control.
>>
>>The combo's value is an input Control parameter.
>>
>>I set the drop down list to disable the ViewState and I ran into the problem of passing the wrong value as an insert parameter.
>>
>>I'm wondering about the best ways to solve the problem apart from manipulating EnableViewState property in code (the simplest solution I'm going to implement for now).
>
>It's hard to tell from your post why you even disabled ViewState at all for this control?

When I go back I want my control to show the default value (Choose a person type) instead of the last selected value.

Anyway, this little problem I fixed for now by playing with EnableViewState in code.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View