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

Date cannot be updated using SelectedDate

2 Answers 42 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 13 Nov 2008, 08:41 AM
hi

It is strange that I cannot update the date in the DB when i use selectedDate property. No error. the data just didn't get updated in the DB.

      sqlcmdInsClassCode.Parameters.Add(New SqlParameter("@CLC_ClassStartDate", SqlDbType.DateTime)).Value = txtStartDate.SelectedDate

But i change to request.form("txtStartDate") then it is able update the date in the DB. Why? Did i miss something? thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 13 Nov 2008, 08:57 AM
Hi Lui,


Can you specify the steps to reproduce the erroneous behavior on this online demo of the product? I tried to do that but unfortunately to no avail. This can help us identify the source of the issue and provide a solution for it.

Regards,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
L
Top achievements
Rank 1
answered on 13 Nov 2008, 09:17 AM
hi

Sorry,  my mistake. I did not place a if not is postback in the page load event. Solved. Thanks
Tags
Calendar
Asked by
L
Top achievements
Rank 1
Answers by
Missing User
L
Top achievements
Rank 1
Share this question
or