Hello,
I'm attempting to use a RadDatePicker to feed into a query using a ControlParameter linked to it. The very of adding it in causes the grid to not render even if I don't use the parameter in the query itself. If add a default value to the RadDatePicker it seems to work fine so something is going on when it is trying to pass the default value (i assume null) and map it to the parameter.
Example code:
<
telerik:RadDatePicker
ID
=
"Record_Date"
MinDate
=
"1900-01-01"
runat
=
"server"
CssClass
=
"birtForm"
AutoPostBack
=
"True"
Width
=
"200px"
DataTextField
=
"Record_Date"
DataValueField
=
"Record_Date"
>
</
telerik:RadDatePicker
>
<
asp:ControlParameter
Name
=
"Record_Date"
PropertyName
=
"SelectedDate"
ControlID
=
"Record_Date"
></
asp:ControlParameter
>
Is there a solution to this?
Thanks