Good morning,
I've got a GridTemplateColumn that has a set width (10%) and that implements both an Item- and EditItemTemplate. These templates implement asp:table(s) with colspan. The colspan of the itemtemplate is set to 2 and implements two rows, one with a label and one with two buttons.
My problem is that the buttons look slightly too big in relations to the label (see attached screendump).
I've attempted to setting the width / height in the buttons, but to no effect.
In addition to that I've attempted to set the w/h in CSS, both with a reference to the css-class through the control(s), but also through attempting to set all controls of type RadPushButton.
Still, nothing...
Any help would be appriciated!
This is the code for the GridTemplateColumn in question:
<
telerik:GridTemplateColumn
HeaderText
=
"Actual Finish"
AllowFiltering
=
"False"
runat
=
"server"
HeaderStyle-Width
=
"10%"
UniqueName
=
"ActualFinish"
>
<
ItemTemplate
>
<
table
>
<
tr
>
<
td
colspan
=
"2"
>
<
telerik:RadLabel
ID
=
"RlblActualFinish"
runat
=
"server"
Text='<%# Bind ("ActualFinish") %>' UniqueName="RlblActualFinish"/>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"1"
>
<
telerik:RadPushButton
runat
=
"server"
ID
=
"RpbActualFinish"
Text
=
"Now"
CommandName
=
"FinishNow"
RenderMode
=
"Auto"
cssclass
=
"radpushbutton"
/>
</
td
>
<
td
colspan
=
"1"
>
<
telerik:RadPushButton
runat
=
"server"
ID
=
"RbtnActualPlannedFinish"
Text
=
"Planned"
CommandName
=
"FinishPlanned"
RenderMode
=
"Auto"
/>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
table
>
<
tr
>
<
td
colspan
=
"12"
>
<
uc2:ctrlDatetimeActivity
id
=
"ctrlActualFinishColumn"
runat
=
"server"
SelectedDateTime='<%# If(Eval("ActualFinish") Is DBNull.Value, Datetime.now(), Eval("ActualFinish"))%>' />
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"1"
>
<
telerik:RadPushButton
runat
=
"server"
ID
=
"RbtnFinishNowIP"
Text
=
"Now"
CommandName
=
"FinishNowIP"
RenderMode
=
"Auto"
/>
</
td
>
<
td
colspan
=
"1"
>
<
telerik:RadPushButton
runat
=
"server"
ID
=
"RbtnFinishPlannedIP"
Text
=
"Planned"
CommandName
=
"FinishPlannedIP"
RenderMode
=
"Auto"
/>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
<
td
colspan
=
"1"
>
</
td
>
</
tr
>
</
table
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>