Hi,
I have a problem. I was able to see when I dragged a Appointment over onto the XamDateNavigator and it did show a DragOver effect, where the user would see that the operation is possible. It used to work, but now it does not. I made some changes to the layout of the AppointmentPresenter, but I can't go back with my code far enough to see what it messed up.
I hope you have an idea, what caused this to happen.
Thank you
Hi tegos,
What kind of changes did you make to the layout? Are we talking about changing up the template for the presenter? Even if I provide a very barebones template for the AppointmentPresenter (just a Border and TextlBlock) I am still able to drag the appointment over the date navigator so I don't think that would be the cause. What version of the Infragistics WPF product are you using? If I could get a specific version # for the DLLs that you are using I could test against those.
Hi Rob,
thanks for the quick answer. I am using the 15.1.20151.2055 DLL's. It worked before, thats why I'm curious what could have caused it.
I changed a few things, here is a pastebin: http://pastebin.com/B92w1JPP
Can't you check the source code, what would be necessary, that the DragOver icon is not showing?
Hi Tegos,
I don't see anything in the source code that would indicate something is wrong. And even with your ActivityTemplate I'm still able to drag appointments to the XamDateNavigator and drop them onto different dates. The mouse icon changes accordingly. I am also using the 15.1.2055 build.
The XamSchedule has it's own built in drag manager which handles this interaction. It is checking the MouseMove event and then depending on what the mouse is over while dragging, it updates the cursor icon. In my sample this appears to be working as you would expect. I attached the sample that I have been working with.
Would you be able to send me a sample that reproduces your issue so I can debug it? If not, can you modify my attached sample to reproduce your issue and then send that back?
how can I send you a zip file without publishing it to the forums? I don't want everyone to have my source code.
Thanks!
I created a private support case for you so that you can send me the file. Your case number is CAS-163808-G1S6V3 and you can view it here. Reply to the case and there will be an option to attach files to it.
I got your sample in the case. There are a lot of places in your code where you are overriding the mouse cursor. Because of this, no matter what we set the cursor to inside the schedule dragging code it will just keep using your overridden cursor. Search your project for Mouse.OverrideCursor. Ideally you should not set these but if you need to, make sure you set it back to null when you no longer need the cursor to be different.
Thank you Rob!