I have an ASP.Net project that contains the following line:
panEdCrit.DefaultButton = butType1Search.UniqueID
On my development PC this works fine, and the default button within the panel panEdCrit is set to butType1Search
When I upload this to the web server I get the following error:
The DefaultButton of 'panEdCrit' must be the ID of a control of type IButtonControl.
What's going on, and how do I fix this?