Selected Usercontrol Doesn't Stick

Feb 6, 2008 at 9:56 PM
I click on "open the tool pane" and select the usercontrol. It shows fine; however, when you do a postback or refresh the page, the selected usercontrol is gone and the "open the tool pane" is there again.

This was working before, I'm not sure what changed.

Any help would be great.

Feb 21, 2008 at 3:55 AM
Make sure you have ascx.cs file in the UserControls folder, when the WSS page is in Edit Mode you need to have the ascx and ascx.cs files in the User Controls folder. Once the file is checked in and approved, you can add compiled dlls to the bin and have just the ascx file (updated Inherits=*.dll) in UserControls folder.