When adding a RadButton with an icon to a RadSlidingPane it messes up the formatting of the button and places the text under the icon.
This is the button code:
<telerik:RadButton ID=
"RadButton2"
runat=
"server"
Text=
"Test"
Width=
"125px"
Skin=
"Default"
RenderMode=
"Lightweight"
>
<Icon PrimaryIconCssClass=
"rbAdd"
></Icon>
</telerik:RadButton>
When I view the generated source it is adding the following in-line styles to the button.
<span class=
"rbText rbPrimary"
style=
"width: 100%; padding-right: 0px; padding-left: 4px;"
>Test</span>
If I take the same exact button and place it outside of the RadSlidingPane the inline styles are gone and the button looks normal.
See attached image for an example of how the button displays improperly.