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

ExecutedSave - Problem

4 Answers 38 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 22 May 2014, 07:03 AM
Hi,

I have a Problem with the "CanExecutedSave" Event. If a drop a Shape on my diagram this Event will not fired. I have
to do something else before, for example Close an open the Toolbox with my shapes. Now the to "CanExecuteEvent"
will be fired and after it, I the "ExecuteSave" works fine.

Any Ideas?

Thanks
Best Regards
Rene

4 Answers, 1 is accepted

Sort by
0
Accepted
Zarko
Telerik team
answered on 26 May 2014, 12:03 PM
Hi Rene,
Could you please elaborate a little bit more on your scenario because as far as we've tested the CanExecuteSave method is always called after shape drop ?
I've attached a sample project so you could examine it and tell us what you're doing differently.

Regards,
Zarko
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
ITA
Top achievements
Rank 1
answered on 27 May 2014, 06:58 AM
Hi,

thanks for answering. I have exactly your code in my project. The problem is, that the save-button is enabled, but on clicking
on the button, nothing happens Void ExecuteSave will not fired! But if I click on the "OpenCloseButton" RadDiagramToolbox, the
void ExecuteSave will fired!

Thanks
Best Regards
Rene



0
Accepted
Zarko
Telerik team
answered on 28 May 2014, 11:25 AM
Hi Rene,
We haven't experienced such an issue on our side so if you still have problems in your application I'd like to ask you for a sample project.

Regards,
Zarko
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
ITA
Top achievements
Rank 1
answered on 28 May 2014, 11:27 AM
Hi,

thanks for answering, I found the error. The problem was the missing x:Name="root" in the
Header of the MainWindow.xaml.

Thanks a lot
Best Regards
Rene
Tags
Diagram
Asked by
ITA
Top achievements
Rank 1
Answers by
Zarko
Telerik team
ITA
Top achievements
Rank 1
Share this question
or