I know ASP.NET doesn't allow to disable control state.
Does anybody know why? I've googled a lot but only saw it is not possible, but was not able to find "WHY?"
Any thoughts on this would be welcome!
P.S. In my particular case I need to put a lot of items into a dropdown list that will NOT be used for server side events. Instead of just disabling control state I need to write my own custom DropDownList... :(
Control state was separated from view state so that view state could be disabled without breaking critical functionality. In theory, control state should contain everything necessary for the server control to function properly.
http://msdn.microsoft.com/en-us/library/1whwt1k7(v=vs.100).aspx
However...ASP.Net does a poor job of making this distinction, and disabling view state will indeed break certain server controls despite the mandatory control state.
In your case, disabling view state for the dropdown list should remove the vast majority of state data; control state is usually quite small for a dropdown with view state disabled. I suggest trying it first before writing your own.