cancel
Showing results for 
Search instead for 
Did you mean: 

CRVS2010 BETA 2 toolbar buttons disabled

Former Member
0 Kudos
64

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

Hello,

It's a known issue. Developers are working on fixing it and should be resolved by the time it goes GA.

I also found out that if you scroll to the page bottom the Zoom control is there and using it will give you focus back.

Thanks again

Don

former_member183750
Active Contributor
0 Kudos

Tested with GA build.

Issue is NOT resolved.

Escalation has been submitted to QA.

Ludek

Former Member
0 Kudos

Hi,

Is this issue (toolbar buttons disabled) resolved with any patch deployment made after November 2010?

Regards,

Jigar

former_member183750
Active Contributor
0 Kudos

Reference ADAPT01454131.

Rejected by R&D. Reason:

The mitigation provided by MSFT are not practical in our WPF viewer

If you are interested in the details of the mitigation as proposed by MSFT, let me know.

- Ludek

Former Member
0 Kudos

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();

Former Member
0 Kudos

ABrough

I've tried your solution, but it doesn't work for me. Have you gotten this to work personally?

Thanks for your time!

Former Member
0 Kudos

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

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Don,

Could I send you my application somewhere, so you could see where is the problem ?

Thanks Ivana

Former Member
0 Kudos

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

Former Member
0 Kudos

Any ideas?

0 Kudos

Hi Ivana,

Currently it's only support in English, may be the cause. Also, have you loaded a report? If no report is loaded the button won't be enabled.

Thank you

Don

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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