This is a migrated thread and some comments may be shown as answers.

Unable to set date pickers font size in editable row in grid

1 Answer 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Brendan Vogt
Top achievements
Rank 1
Brendan Vogt asked on 22 Jul 2008, 01:15 PM

Hi,

I have the following RadDatePicker control in an editable column in my grid.  I am struggling to set the size of the text in date picker when the row is in update mode.  I need it to be set to 12px.  Here is my code:

<radG:GridTemplateColumn
   HeaderText="Date Of Deposit"
   UniqueName="DateOfDeposit">
   <ItemTemplate>
      <asp:Label ID="lblDateOfDeposit" runat="server" Text='<%# Eval("DateOfDeposit") %>'></asp:Label>
   </ItemTemplate>
   <EditItemTemplate>
      <radCln:RadDatePicker
         ID="rdpDateOfDeposit"
         DbSelectedDate='<%# DataBinder.Eval(Container.DataItem, "DateOfDeposit") %>'
         runat="server">
         <DatePopupButton
            HoverImageUrl="~/Images/Hover.gif"
            ImageUrl="~/Images/datePickerPopup.gif" />
      </radCln:RadDatePicker>
   </EditItemTemplate>
</radG:GridTemplateColumn>

Please can some one help?

Thanks
Brendan

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 25 Jul 2008, 10:38 AM
Hello Brendan,

You can use font-size property to set the size of a font. Here is an example:

            <telerik:RadDatePicker 
                 ID="rdpDateOfDeposit" 
                 runat="server"
                 <DateInput Font-Size="22px"
                 </DateInput> 
            </telerik:RadDatePicker> 

Hope this helps


All the best,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Brendan Vogt
Top achievements
Rank 1
Answers by
Missing User
Share this question
or