OK button in Edit appointment Dialog window is disabled for new appointment

16 posts, 0 answers
  1. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 04 Jul 2011 Link to this post

    Hello guys,

    I've started using Q2 beta which is just released. My problem is , at the time of loading i am fetching appointments dynamically from my source to scheduleview, it successfully bounded with scheduleview. but for those appointments only, OK button of Edit appointment dialog window is enabled, if i am going to create new appointment, OK button is always disabled. i am facing this problems when i started using Beta. Kindly help me. Also see attached image to understand the problem.

    This problem is of Q2 beta . Kindly see attached images of earlier version where OK button is enabled, but it's always disabled in case of Q2 beta.

    kindly provide solution .

    Thanks & regards,
    palak
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 05 Jul 2011 Link to this post

    Hello Palak,

    Actually this is expected behavior - since Q2 Beta EditAppointmentDialog has a built-in validation functionality. By default only Start and End DateTimePickers are validated, but I guess that you have a custom appointment which implements IDataErrorInfo interface.

    All the best,
    Yana
    the Telerik team
    Register for the Q2 2011 What’s New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
  3. DevCraft banner
  4. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 05 Jul 2011 Link to this post

    Hi yana,

    Yes, i am using IDataErrorInfo interface, but i am entring all needed information into edit appointment dialog window, then OK button should be getting enabled to user so that they can save appointment, which is not happening . you can check attached image also.

    kindly tell me what i need to do or check to get my problem resolved.

    thanks & regards
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 Jul 2011 Link to this post

    Hi Palak,

    This issue is already fixed and the fix will be available in the official Q2 release in mid-July.

    Best wishes,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  6. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 08 Jul 2011 Link to this post

    Hi Yana,

    Thanks for respond. Is it possible to give me a fix this time so that i can move ahead with my solution. If not feasible, you can tell me the changes or workaround to get it resolved until Q2 mid-july released. It would be a favour.

    & which date Q2 mid-july is going to release , if you have an idea.

    Thanks & regards,
    palak
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Jul 2011 Link to this post

    Hi Palak,

    I'm afraid that we cannot provide a fix for this issue at the moment,  Q2 release will be out next week.

    Best wishes,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  8. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 08 Jul 2011 Link to this post

    Hi Yana,

    Thanks for response. we'll manage until Q2 beta release next week.

    regards,
    palak
  9. Kwinten Volckaert
    Kwinten Volckaert avatar
    6 posts
    Member since:
    Mar 2005

    Posted 14 Jul 2011 Link to this post

    This seems to be a problem in the official reslease too.
    I've waited for this release because I need validation and a working scrollintoview method.
     
    Even thee demo  is faulty : http://demos.telerik.com/silverlight/#ScheduleView/CustomAppointment
    a new appointment gives a disabled ok button...
    an old appointment where i clear the title gives an error but the ok button stays enabled (allthough I cannot close the window)
     
    I need a fix quick, I have an important demo monday and this should work !
  10. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Jul 2011 Link to this post

    Hi Kwinten,

    You are right - the fix of this issue with OK button will be included in the next internal build, we're sorry for the inconvenience.

    Kind regards,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  11. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Jul 2011 Link to this post

    Hello Kwinten,

    As a temporary workaround you can add the following code in your custom appointment class:

    protected override void OnPropertyChanged<P>(System.Linq.Expressions.Expression<Func<P>> propertyExpression)
    {
        base.OnPropertyChanged<P>(propertyExpression);
        CommandManager.InvalidateRequerySuggested();
    }

    Hope this helps.

    Kind regards,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  12. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 19 Jul 2011 Link to this post

    Hello Yana,

    Thanks for workaround and it's working. But start time and end time column is faulty and got bugs. You can change end time, it will automatically change start time which is very problematic and vice versa. so we need to manually edit the start time datepicker and end time date picker like a text box.

    Also this solution is stuck most of the times in start time and end time. even everything is valid, OK BUTTON is not getting enabled, after changing and tweaking all the fields again or at times, then it's getting enabled. for now we are thankful for the workaround.

    thanks & regards,
    palak
  13. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 21 Jul 2011 Link to this post

    Hello yana,

    Q2 is released and i checked it out. it seems, there is a still problem in validation. you can check demo as well. OK button is still not getting enabled. Could you pls check it ?

    thanks & regards
    palak
  14. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 21 Jul 2011 Link to this post

    Hi Palak,

    We're aware of this issue, it's reported earlier in this thread, please check the work-around in my previous post.

    Kind regards,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  15. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 21 Jul 2011 Link to this post

    Hello Yana,

    Thanks for quick response. We will use this workaround for the time being.

    regards,
    palak
  16. Joe
    Joe avatar
    31 posts
    Member since:
    Apr 2012

    Posted 28 Sep 2012 Link to this post

    Has this been addressed?

    I still see this issue with a custom appointment edit dialog.

    However, the work around does work.
  17. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 Oct 2012 Link to this post

    Hello,

    This issue should be fixed in the latest release of RadControls. Please check our Custom Appointment and Validation example here.

    If you still experience the issue, open a support ticket and send us a simple demo project there.

    All the best,
    Yana
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top
DevCraft banner