RadioButtonList ????

  • Thread starter Thread starter BG
  • Start date Start date
B

BG

Hey All,

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. Any examples would be most appreciated.

Thanks

BG
 
BG,

When you will help to get the coding right without showing any code.

Can you give us an idea how that we can do that for you?

:-)

Cor
 
BG said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top