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

RadDatePicker and postback from other fields

4 Answers 106 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 28 Jun 2011, 02:13 PM
I am guessing this has been talked about before and there is probably a very easy solution, but I can't seem to find it.

I have a form which a whole bunch of other radcontrols that do an autopostback, I am finding that if a user selects the icon to open the calendar on the RadDatePicker quickly after moving off another field that the dates are unselectable on the calendar.  It seems like it is opening in the middle of the postback or something and disables it.  The only way to get out of this state is to go to another field, make a change, and then back to the calendar. 

Has anyone seen this?  Is there a way to disable that icon while in the middle of postback or something along those lines?

Thanks so much

4 Answers, 1 is accepted

Sort by
0
Andy
Top achievements
Rank 1
answered on 29 Jun 2011, 03:45 PM
anyone have any thoughts on this at all?  it is driving me nuts....
0
Andy
Top achievements
Rank 1
answered on 29 Jun 2011, 08:20 PM
to narrow this down even more...

1)  Change a combobox in which autopostback is true
2) Quickly click the popup for the RadDatePicker
3) Page posts back, dates are unselctable on the calendar
4) Only way to get it to allow you to select a date is to change another field with autopostback

I tried putting this in the page_load, this closed the popup but it was still unselectable on the postback
fldDateofLoss.DatePopupButton.ViewStateMode = UI.ViewStateMode.Disabled

Anyone know what to try with this?
0
Tsvetina
Telerik team
answered on 01 Jul 2011, 11:21 AM
Hi Andy,

I could not replicate the descirbed issue locally. Here is a video of what I tried, am I missing anything out?

http://screencast.com/t/l4NS9jqd

Also, could you confirm which is the version of RadControls that you are using. It is possible that this is an already fixed bug unobservable in the latest versions.

Greetings,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Andy
Top achievements
Rank 1
answered on 01 Jul 2011, 02:06 PM
I couldn't replicate with your example either... We do quite of a bit of DB calls on the post back, I wonder if it is a timing issue.  I will have to plug around a little bit more it looks like.

The version we are using is 2011.1.413.40
Tags
Calendar
Asked by
Andy
Top achievements
Rank 1
Answers by
Andy
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or