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

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

15 Answers 175 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
palak
Top achievements
Rank 1
palak asked on 04 Jul 2011, 09:30 AM
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

15 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 05 Jul 2011, 01:42 PM
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!
0
palak
Top achievements
Rank 1
answered on 05 Jul 2011, 02:23 PM
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
0
Yana
Telerik team
answered on 07 Jul 2011, 03:11 PM
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!

0
palak
Top achievements
Rank 1
answered on 08 Jul 2011, 06:15 AM
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
0
Yana
Telerik team
answered on 08 Jul 2011, 08:07 AM
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!

0
palak
Top achievements
Rank 1
answered on 08 Jul 2011, 12:01 PM
Hi Yana,

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

regards,
palak
0
Kwinten Volckaert
Top achievements
Rank 1
answered on 14 Jul 2011, 01:42 PM
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 !
0
Yana
Telerik team
answered on 18 Jul 2011, 12:28 PM
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!

0
Yana
Telerik team
answered on 18 Jul 2011, 02:25 PM
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!

0
palak
Top achievements
Rank 1
answered on 19 Jul 2011, 08:11 AM
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
0
palak
Top achievements
Rank 1
answered on 21 Jul 2011, 08:30 AM
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
0
Yana
Telerik team
answered on 21 Jul 2011, 08:57 AM
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!

0
palak
Top achievements
Rank 1
answered on 21 Jul 2011, 02:58 PM
Hello Yana,

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

regards,
palak
0
Joe
Top achievements
Rank 1
answered on 28 Sep 2012, 01:03 PM
Has this been addressed?

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

However, the work around does work.
0
Yana
Telerik team
answered on 01 Oct 2012, 10:04 AM
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.

Tags
ScheduleView
Asked by
palak
Top achievements
Rank 1
Answers by
Yana
Telerik team
palak
Top achievements
Rank 1
Kwinten Volckaert
Top achievements
Rank 1
Joe
Top achievements
Rank 1
Share this question
or