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

Error in date control after an ascynchronous post back.

2 Answers 36 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mon NN
Top achievements
Rank 1
Mon NN asked on 14 Jan 2010, 08:52 AM
I have an update panel and within it I have a grid that has date controls. When I load the grid for the first time I can manipulate the date control without an error. After a postback I get an error "Unspecified Error" when I click on date icon. If I disable the update panel the error disappears.
Whats the issue here?


Mon NN

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 15 Jan 2010, 05:35 PM
Just to make sure (I've run into this problem before) - are you attempting to interact with the DatePicker before the partial postback has completed? I know this can cause issues with controls, and would make sense for an "Unspecified Error". Perhaps if you wait to make sure that the postback has completed and then try to interact with the DatePicker you might not get an error.
0
Mon NN
Top achievements
Rank 1
answered on 18 Jan 2010, 12:51 PM
hi Schurk,

thanx for your answer I found a solution. I merely excluded the date control from the update panel and it works okay. since we are sharing one date control in a grid. fixed.
Tags
Ajax
Asked by
Mon NN
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Mon NN
Top achievements
Rank 1
Share this question
or