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

2 posts, 0 answers
  1. Brendan Vogt
    Brendan Vogt avatar
    143 posts
    Member since:
    Jun 2008

    Posted 22 Jul 2008 Link to this post

    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

  2. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 25 Jul 2008 Link to this post

    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.
Back to Top