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

[Solved] Issues with DatePicker inside GridTemplateColumn

2 Answers 211 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 28 Apr 2008, 07:16 PM
I have a raddatepicker control inside the edititemtemplate of the grid.
I use databinding ststement as SelectedDate='<%# "OrderDate" %>

In case of insert or if the data is null for the OrderDate column it throws an error beacuse it is not able to bind the data.

How can i use the datepicker with gridtemplatecolumn.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Apr 2008, 08:25 AM
Hi Newbie,

Go through the following KB-article.
Using RadDatePicker/RadDateTimePicker as editor in template column of RadGrid

Thanks
Shinu.


0
newbie
Top achievements
Rank 1
answered on 29 Apr 2008, 04:56 PM
My Bind expression gives an error.
I do not get DBselected date as a property for the datepicker control.
How can i bind the column in case of an update?
Tags
Grid
Asked by
newbie
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
newbie
Top achievements
Rank 1
Share this question
or