"BG" <bg*****@yahoo.com> schrieb:
I have a vertical RadioButtonList w/ textalign=right and borders enabled.
I
want to resize the borders based on the pixel length of the item text. I
am
trying to use the graphics.measurestring class but can't seem to get the
coding right.
'MeasureString' is part of GDI+ and is typically used in Windows Forms
applications. I doubt that it will work in Web Forms applications, because
they use a completely different rendering model. Users can change a page's
font size using the browser's menu easily.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>