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

RadDatePicker and Label

9 Answers 692 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Etienne
Top achievements
Rank 1
Etienne asked on 30 May 2008, 02:21 PM
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 ?

9 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 30 May 2008, 04:11 PM
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
0
Evgeny
Top achievements
Rank 1
answered on 29 Jul 2008, 02:44 PM
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)?
0
Konstantin Petkov
Telerik team
answered on 30 Jul 2008, 06:07 AM
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.
0
John Smith
Top achievements
Rank 1
answered on 02 Nov 2010, 12:59 PM
It seems this hasn't been fixed, which is a shame.   Is this on the roadmap?
0
Pavel
Telerik team
answered on 09 Nov 2010, 04:15 PM
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
0
Emanuele
Top achievements
Rank 2
answered on 01 Apr 2011, 12:59 PM
Please remove Label property if it does not work (to avoid misunderstanding) or fix it.

Thanks
0
Pavel
Telerik team
answered on 05 Apr 2011, 08:18 AM
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
0
Maria
Top achievements
Rank 1
answered on 21 Apr 2011, 04:27 PM

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 :)

 

0
Etiene
Top achievements
Rank 1
answered on 29 Nov 2012, 01:06 PM
Hello Maria,
Your solution is perfect for simulate a label in telerik!!!
Thank you.. :)

Etiene V.
Tags
Calendar
Asked by
Etienne
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Evgeny
Top achievements
Rank 1
John Smith
Top achievements
Rank 1
Pavel
Telerik team
Emanuele
Top achievements
Rank 2
Maria
Top achievements
Rank 1
Etiene
Top achievements
Rank 1
Share this question
or