on 2010 Aug 02 9:47 AM
I have installed CRVS2010 BETA 2.
I have button and checkBox in window, where is crystalReportViewer.
When I click on this button or chceckBox, crystalReportViewer toolbar buttons disabled.
I had this problem also in CRVS2010 BETA 1. I hoped that CRVS2010 BETA 2 will solve my problem, but it didn't.
Please tell me how to get these buttons (and toolbar) to enable after clicking on other buttons.
Thanks
Ivana
Hi Don,
I uploaded my project. Here you can see example of my problem. When I click on the button or chceckBox in Usercontrol, reportViewer toolbar buttons disabled.
http://www.sendspace.com/file/w3moc9
Thanks so much for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivana,
Thank you. I can duplicate the issue. I noticed also that if you click on the Preview in the group tree it sets focus back to the form and the buttons enable. Problem is if you close the Group Tree then there is no way to get focus back.
I'll discuss with the PM's and track it if required or post the "how to"
Thank You
Don
i have seen this issue when the viewer is wrapped in a UserControl. the way to get around it is on the user control add
FocusManager.IsFocusScope="True"
ensure that you name the viewer something to access it i.e.
<my:CrystalReportsViewer Name="crv"...
then just call the focus method after loading your report (my usercontrol called reportViewer)
reportViewer.crv.Focus();
hi brendalisa,
yeah i have this working, but it seems to sometimes matter where you are calling the focus from. another method i have had to use based on this is before you call the focus method you need to set the focusable property to true.
so
crv.Focusable = true;
crv.Focus();
try that and let us know.
Andy
Hi Don,
Could I send you my application somewhere, so you could see where is the problem ?
Thanks Ivana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
I loaded report. Buttons where enabled. Then I click on the button in userControl and toolbar buttons disabled. This is shown also in image http://www.image-share.com/ijpg-314-232.html
Thank you.
Ivana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or when I add to the Crystal Report WPF application User control WPF, I want add there CrystalReportsViewer, but I can't see it in Toolbox. I just added
xmlns:cr="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"
to the xaml, so I have there viewer. But when I add to this UserControl also a button, after clicking on it viewer toolbar buttons are disabled. Only if I click on zoom button, they are enabled.
http://www.image-share.com/ijpg-314-232.html
Please help me, Ivana
Edited by: ivka.celine on Aug 4, 2010 12:48 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have created new Crystal Report WPF Application. I added report source to the CrystalReportViewer.
In window1, where is also CrystalReportViewer, I added button.
When I click on this button, crystal report viewer toolbar buttons disabled.
I don't have installed other versions of CR in my PC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivana,
Need more info.
Is this a new project or an update?
Do you have any other versions of CR installed on your PC?
Can you explain step by step how you created the form and used the viewer?
Not clear what you did.
Thank you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.