PRB: Cannot resize SmartDBControl in Visual Studio 2008
Sunday, 26 October 2008
When working with SmartDBView in design time in Visual Studio 2008 or Visual Web
Developer Express 2008 and when try to resize SmartDBControl or SmartDBLabel the
resize handle does not appear and it is not possible to resize the controls.
SYMPTOMS
When working with SmartDBView in design time in Visual Studio 2008 or Visual Web
Developer Express 2008 and when try to resize SmartDBControl or SmartDBLabel the
resize handle does not appear and it is not possible to resize the controls.
CAUSE
SmartDBControl and SmartDBLabel are rendered as SPAN elements. By default the SPAN
elements cannot be resized.
The symptoms can be observed with the standard ASP.NET control Label also. It also renders
itself as an SPAN element.
RESOLUTION
In order to enable resizing of the controls open the Properties tab and set either
the Width or the Height property. The resizing handle should now be available when
hovering over the controls.
For more information see
ASP.NET Forum - resizing asp label control.
APPLIES TO
- Visual Studio 2008 and Visual Web Developer Express 2008
|