Hello,
I am simply trying to obtain the date selected from the RadDatePicker control through javascript as I am trying to pass the value to another page as a parameter for an SQL query the page performs when loading. However, I am having a problem with the format the date is returing. I have tried both get_selectedDates and get_textBox with no luck in returning a date that is in a datetime format for the parameter. With get_seletedDates I am getting a long formatted style not in the correct format while get_textBox doesn't return a date value, only that it is an HTMLelement or something along that lines.
Is there a way to get the date that is in the text box portion of the datepicker to return how it actually shows in the date picket, for instance 12/10/2012?
Thanks,
Ron
I am simply trying to obtain the date selected from the RadDatePicker control through javascript as I am trying to pass the value to another page as a parameter for an SQL query the page performs when loading. However, I am having a problem with the format the date is returing. I have tried both get_selectedDates and get_textBox with no luck in returning a date that is in a datetime format for the parameter. With get_seletedDates I am getting a long formatted style not in the correct format while get_textBox doesn't return a date value, only that it is an HTMLelement or something along that lines.
Is there a way to get the date that is in the text box portion of the datepicker to return how it actually shows in the date picket, for instance 12/10/2012?
Thanks,
Ron