RadDatePicker and Label

10 posts, 0 answers
  1. Etienne
    Etienne avatar
    73 posts
    Member since:
    Apr 2005

    Posted 30 May 2008 Link to this post

    It seems text of Label property is not visible when DateInput is included inside a DatePicker.

    Label is shown here :

    <

    DateInput ID="Date1" runat="server" Label="Date 1" />

    But not here :

    <telerik:RadDatePicker ID="Date1" runat="server"  DateInput-Label="Date 1" />

    Is it true for you too ?
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 30 May 2008 Link to this post

    Hi Etienne,

    You are correct in your observation.

    The DatePicker rendering does not allow adding the built-in RadInput label - it just strip it from the table. Please, add a standard ASP:Panel right next to the DatePicker instead.

    Kind regards,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Evgeny
    Evgeny avatar
    17 posts
    Member since:
    Jun 2008

    Posted 29 Jul 2008 Link to this post

    Dd you mean "Add standard asp:Label right before the date picker"?

    Any chance to get it working in standard way (i.e. using your incapsulated label)?
  5. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 30 Jul 2008 Link to this post

    Hi Evgeny,

    Yes, I meant the ASP:Label of course, sorry for the mistake.

    I'm afraid there is no way to add the encapsulated label for the DatePicker currently. The problem is caused by the rendering of the DatePicker.

    Please, excuse us for any inconvenience caused because of that.

    Regards,
    Konstantin Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. John Smith
    John Smith avatar
    11 posts
    Member since:
    Oct 2009

    Posted 02 Nov 2010 Link to this post

    It seems this hasn't been fixed, which is a shame.   Is this on the roadmap?
  7. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 09 Nov 2010 Link to this post

    Hi John,

    I am afraid that using the Label property of the DatePicker's Input control is not supported. Please use the previously suggested workaround and use an asp:Label with the picker.

    Greetings,
    Pavel
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Emanuele Zambrano
    Emanuele Zambrano avatar
    21 posts
    Member since:
    Dec 2009

    Posted 01 Apr 2011 Link to this post

    Please remove Label property if it does not work (to avoid misunderstanding) or fix it.

    Thanks
  9. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 05 Apr 2011 Link to this post

    Hello Emanuele,

    I am afraid that hiding the property is not possible in this scenario, without changing the DateInput control itself.

    Regards,
    Pavel
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Maria
    Maria avatar
    1 posts
    Member since:
    Aug 2010

    Posted 21 Apr 2011 Link to this post

    I was able to replicate the behavior like this:

    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Label" DecorationZoneID="DatePicker" Skin="Office2007" />
    <div id="DatePicker">

       <label for="txPurchaseDate">Purchase Date:</label>
       <telerik:RadDatePicker ID="txPurchaseDate" runat="server" Skin="Office2007">
       </telerik:RadDatePicker>
    </div>

    I hope this works for everyone :)

     

  11. Etiene
    Etiene avatar
    1 posts
    Member since:
    Nov 2012

    Posted 29 Nov 2012 Link to this post

    Hello Maria,
    Your solution is perfect for simulate a label in telerik!!!
    Thank you.. :)

    Etiene V.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017