Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Minimum height of web controls

Thread Tools

Minimum height of web controls
Posts: n/a

How do I make custom controls that inherit webcontrol display a smaller
width or height than 16pixels in the designer? I tried overriding the
width property but to no avail. The correct pixel size is shown as text
but the control width or height remains at 16 pixels.How can I lower
the minimum width/height of webcontrols?

I have created a couple of child controls that inherit WebControl and
these controls will be absolutely positioned since they show prosess
control elements for plant information systems etc. Because I display
various kinds of graphics in my controls ( e.g ) vertical/horizontal
bars, graphs etc ( yes I'm using the canvas element + excanvas ) I need
some controls to be fairly thin and small. In the question of a bar I
want the designer display the actual width even its smaller than 16

Reply With Quote
Posts: n/a
Could anyone please help me with this one? Am I completely off the
rails with this question or is it just that noone knows.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
minimum height for a layout Mark HTML 3 11-28-2007 02:05 PM
measuring web controls height at runtime (or converting .height % to px) Wotney ASP .Net 1 10-25-2006 01:39 PM
how to get specific cell height without hard-coding a height value HTML 0 08-19-2006 08:13 PM
iFrame Javascript Minimum Frame Height Issue chasquad Javascript 0 02-13-2006 03:08 PM
Minimum Height of an Iframe David Morris HTML 1 05-14-2004 10:22 PM