RadDatePicker and postback from other fields

5 posts, 0 answers
  1. Andy
    Andy avatar
    9 posts
    Member since:
    Jun 2011

    Posted 28 Jun 2011 Link to this post

    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
  2. Andy
    Andy avatar
    9 posts
    Member since:
    Jun 2011

    Posted 29 Jun 2011 Link to this post

    anyone have any thoughts on this at all?  it is driving me nuts....
  3. Andy
    Andy avatar
    9 posts
    Member since:
    Jun 2011

    Posted 29 Jun 2011 Link to this post

    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?
  4. Tsvetina
    Admin
    Tsvetina avatar
    2481 posts

    Posted 01 Jul 2011 Link to this post

    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.

  5. Andy
    Andy avatar
    9 posts
    Member since:
    Jun 2011

    Posted 01 Jul 2011 Link to this post

    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
Back to Top