12-22-04 12:46 PM
I have a user control which depends heavely on view state. The user control
works fine when it is placed directly on an aspx page.
But when I try to load the usercontrol dynamically in a control extending
the BasePlaceholderControl class it doesn't work properly because something
goes wrong with the viewstate.
I'm using the LoadControl method to load the user control. I've tried to
load the control in the contructor of the placeholder control as well as in
the CreateAuthoringChildControl method. Nothing works.
Do you have an idea of what the problem is and how to solve it?
Thanks. Nikolaj
[ Post a follow-up to this message ]
|