Hello,
i use a split button, which has a RadContextMenu attached to it. Inside the RadContextMenu, there is one RadMenuItem which contains an ItemTemplate with multiple RadCheckBoxes.
How is it possible that the RadCheckBoxes inside the ContentTemplate uses the full available width? So there should be no padding/margin in the ContextMenu and the Checkbox stretches horizontally to use all of the existing space. I uploaded an example of how it looks like right now in the attachments of this post.
Code:
<
telerik:RadButton
EnableSplitButton
=
"true"
ID
=
"btn4"
AutoPostBack
=
"true"
runat
=
"server"
Text
=
"Example Button Text"
OnClientClicked
=
"OnClickedRadButton"
CommandName
=
"cmdBt4"
OnClick
=
"btn4_Click"
CausesValidation
=
"true"
>
</
telerik:RadButton
>
<
telerik:RadContextMenu
id
=
"rcmBtn4"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
>
<
ItemTemplate
>
<
p
>
<
telerik:RadCheckBox
runat
=
"server"
ID
=
"rcb1"
CausesValidation
=
"false"
Checked
=
"true"
Text
=
"als Excel-Datei (.xlsx) exportieren"
AutoPostBack
=
"false"
/>
</
p
>
<
p
>
<
telerik:RadCheckBox
runat
=
"server"
ID
=
"rcb2"
CausesValidation
=
"false"
Checked
=
"true"
Text
=
"Checkbox Text 2"
AutoPostBack
=
"false"
/>
</
p
>
</
ItemTemplate
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadContextMenu
>