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

RadDatePicker

2 Answers 19 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Srinivasa prabhu
Top achievements
Rank 2
Srinivasa prabhu asked on 17 Aug 2010, 10:41 AM
Hi! to all telerik members
  • plz help me 2 solve this pblm How to Extract date from RadDatePicker to textbox in c#.net.
  • It shuld be in the format of ddDDDYYYY.
Regards,
srinivas

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 17 Aug 2010, 12:13 PM
Hello Srinivas,


You can format the DatePicker value from code behind. Here is sample code for that.

C#:
string formattedDate = RadDatePicker1.SelectedDate.Value.ToString("ddDDDyyyy");
TextBox1.Text = formattedDate;


-Shinu.
0
Srinivasa prabhu
Top achievements
Rank 2
answered on 18 Aug 2010, 06:38 AM
Hello Shinu,'
      Thnks for ur ans..Its mainly for globalizing date,Time in whole website????
Tags
Ajax
Asked by
Srinivasa prabhu
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 1
Srinivasa prabhu
Top achievements
Rank 2
Share this question
or