Hello,
I have an ASP.NET application written in C# in which I have a RadDatePicker object on the form. When the user selects a particular menu option the resulting function should get the date from the DatePicker, and pass that date in the URL to the next screen, which is invoked using the RadWindow component.
The problem is that the date being passed contains the following:
"Fri Oct 17 00:00:00 EDT 2008"
This cannot be converted to a DateTime object correctly.
The code within my RadCodeBlock is as follows:
<telerik:RadCodeBlock ID="cb1" runat="server">
<script language="javascript" type="text/javascript">
function DisplayStatistics() {
var picker = $find("<%= RadDatePicker1.ClientID %>");
var selectedDate = picker.get_selectedDate();
var oManager = GetRadWindowManager();
var oWnd = oManager.open("./TradeBlotterStats.aspx?ID=" + selectedDate, "rwBlotterStatistics");
}
</script>
</telerik:RadCodeBlock>
Thanks in advance for any help you can provide,
David Nowak.