This is a migrated thread and some comments may be shown as answers.
ButtonGroup with DatePicker
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Alexandru
Top achievements
Rank 1
Alexandru asked on 02 Jul 2013, 12:29 PM
http://jsfiddle.net/klaudyuxxx/a9wqL/52/

I know ButtonGroup was not made  to hold any DatePickers, but is there a workaround to make it look ok?
The buttons get a little bit huge after initializing the DatePicker, and the DatePicker itself inherits some styles and doesn't look as it supposed to.
In ScrollView No2 is what I'll use instead of ButtonGroup, but it's not that pretty.

Thank you!

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 03 Jul 2013, 08:06 AM
Hello Alexandru,

Yes, the ButtonGroup is not supposed to hold other Widgets, so this is not an officially supported scenario. I can give you a hint though - set an ID on the button that holds the DatePicker and use it to override the padding, font-weight and maybe the background. However as this is not officially supported, if the override or the nesting breaks the ButtonGroup or the DatePicker behavior - we can't help you with that.

Regards,
Kamen Bundev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Alexandru
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or