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

SelectAll is obsolete

3 Answers 66 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 28 Jul 2010, 12:08 PM
We use a DatePicker.
After we startet with the new version the "SelectAll" is obsolete.
What should we use now?

 ((RadDatePicker)sender).SelectAll();

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 29 Jul 2010, 04:44 PM
Hello Rieni De Rijke,

Thank you for contacting us.

We introduced our new RadDateTimePicker control with Q2 release. We made some required changes to date and time pickers and one of this is to make SelectAll obsolete. Sorry for any inconvenience caused!

You could workaround this by using ChildrenOfType<> and to find the TextBox placed inside the control and set SelectAll() for the textbox.  

Please do not hesitate to contact us if you require any further information.

 

All the best,
George
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
Prateek
Top achievements
Rank 1
answered on 22 Jun 2011, 04:13 PM
Hi,

This solution is working for me if I am placing break point to see the behaviour of this code block.
It is selecting the date text.
But when I run without placing break point then text is not getting selected.

Any clue will make my life easier. :) 
0
Boyan
Telerik team
answered on 27 Jun 2011, 04:19 PM
Hello Prateek,

Could you please provide some more info on your scenario and the version you are using as I tested the issue with the attached project and it is working fine at my side.

All the best,
Boyan
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
Tags
DatePicker
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
George
Telerik team
Prateek
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or