I can tell one thing for the viewstate problem.
Make sure that you do not remove some controls between postbacks.
The bottom line is, if you remove a control from the code that was there
when the page loaded for the first time, you will have this viewstate
problem.
And for not firing change event, make sure that your drop down does not
become visible false in the page load before you onchange event is being
executed.
I hope I gave you some idea.
--
SevDer
http://www.sevder.com
A new .NET Source For .NET Developers
"ASP.Net Event not firing" <AS******************@discussions.microsoft.com>
wrote in message news:36**********************************@microsof t.com...
Hi,
I would like to use Panels in my ASP.Net code. It works OK if I put static
controls on it but if I have a drop down list or a listbox control that
need
to have 'EnablePostBack' = true then the SelectedIndexChanged event does
not
fire.
In the case of the Drop down list control I get an error 'Failed to Load
ViewState etc....'
For the Listbox, I don't get this error but the SelectedIndexChanged event
is not being fired.
If the control is not loaded into the Panel, the events fire fine.
Please Help!