开发者

Can I hack the Telerik RadButton to make a 'Big Icon Button'?

Here is what a regular RadButton might look like:

Can I hack the Telerik RadButton to make a 'Big Icon Button'?

开发者_运维技巧

However, we want a larger button... something that might look like:

Can I hack the Telerik RadButton to make a 'Big Icon Button'?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜