Can I hack the Telerik RadButton to make a 'Big Icon Button'?
Here is what a regular RadButton
might look like:
However, we want a larger button... something that might look like:
The icon should stay the same. The color and text formatting is probably negotiable, but I really need a 'RadBigButton' kind of thing.
It is possible to change the width and height of a RadButton providing that you aren't using using ButtonType="StandardButton". Unfortunately, in your case, it appears as if you are using "Standard Button" and therefore the button height is fixed to 22px and can't be changed.
Since the RadButton was introduced only in the most recent 2010 Q3 release, I'm sure we can expect the addition of new functionality but, for the time being, it isn't there.
The only way to achieve your goal is to use an ImageButton.
All the telerik controls can have customized looks by applying your own custom CSS.
精彩评论