Disable navigation on clicking Sub report from main Crystal Repert - VB.net - vb.net

How to disable navigation to the sub-report when clicked on it? I have report with 1 sub-report that displays Company information and I need to disable it once it has been clicked by Customer.

it can be disable from crystal report viewer control.Use
CrystalReportViewer1.EnableDrillDown = False
this will work for crystal report 2008 or above.
Edits:
AS per comments by Question owner,in order to disable just navigation.there is no defined way.but it can be achieved by some other means.
"Create an empty text cell that is as wide as the report, and use it to "cover" the clickable fields to prevent drilldown.
Seriously, this is the only way we've found to do this. This is also documented on the BusObj support knowledge base (http://support.businessobjects.com/library/kbase/articles/c2013204.asp)"
for more information,Refer the link Disable Navigation

Related

How to disable right click on rdlc report

I am creating an RDLC report. The report looks pretty well in print layout mode. I set it to printlayout mode like this -
Me.ReportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout)
Well, this is fine but if user right clicks on the report he get an option to disable this print layout mode as shown in the image below
and if the user disables the printLayout the reports get aligned to left side as shown in the below image
So, what I want to do is either disable the right click or if possible align the report properly on the default mode too.According to me, it is better to disable the right click because the report is always going to be generated in A4 format. Any help is appreciated, suggestions too
The right-click menu is called a ContextMenu and the
ReportViewer.ShowContextMenu Property allows you to disable it.
Me.ReportViewer1.ShowContextMenu = False

Hide a button in SSRS pdf view but show in online view

I have a button in the SSRS report Report1. This buttons opens other report called DetailReport. In online view of the report for faster rendering the button on report1 opens the DetailReport. But when on pdf view the Button appears on the report, which is of no use.
I have found way to hide and show the entire page by passing parameter.
Using code for visiblity as :
=IIF(Parameters!ShowDetaiReport.Value=true,false,true)
But the button is shown or hidden both online and in pdf.
Is there any way to show button in the online view but hide it when I download pdf or word. Can i replace the Button with report itself when I download it.
FYI: I am using SSRS 2012
You can check to see what type of report is being rendered using the Globals!RenderFormat Built-in Field. You can either use .Name to check for a specific render format - such as PDF or Excel - or you can simply use .IsInteractive to check if the user can actually click things.
You can apply this check in the Button's Visibility -> Show or hide based on an expression property value as follows: =iif(Globals!RenderFormat.IsInteractive, False, True)
If you want to test this without exporting your reports, you can preview in Print Layout, which isn't interactive.

How to display all pages continuously in Crystal Reports?

I have a question about Crystal Reports 2013.
I have a report with 11 - 13 pages data (dynamic). And I want to display all of them continuously / without any page break. So, I need to view next page just with scrolling, not with a button like Next Page.
Could you help me please how to do it in Crystal Reports 2013?
you can check this,
CrystalReportViewer1.SeparatePages = false;
Also check this link which say "Keep Togather" setting will help you.
http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3196
http://scn.sap.com/thread/1649022(This is the last option I found)
Updated
I did not get any thing at crystal report side, the reason will be crystal report every time hit the db and execute whole code and redesign the page. So I don't think you can do this.
http://www.codeproject.com/Questions/87668/Showing-all-pages-using-scroll-in-Crystal-Reports
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=7852
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=547
You can give the facility in export option as pdf, but not at crystal report side.
No, Crystal Reports won't allow to display many pages continuosly.
I understand that hitting "next page" and waiting for reload is annoying. You can programmatically export a report in PDF, so that Adobe Reader will show pages continuosly.
peace be on you iwan,
please right click on CrystalReportViewer , tag
and see properties,
and set SeperatePages = False
my report pages are now continious without any break with scroll.
![enter image description here][1]

Crystal Reports - user can click on fields

When i display a report to a user, they are able to click on the fields on the report. this highlights them and turns them blue. Does anybody know how to disable this? I was looking for a read only or a enabled property but no such luck.
Using vb.net 2010 and the built in version of Crystal 13.0.2
here is an example what the text field looks like when the user clicks on it
example.

Hide a field/paramater in SSRS

Is it possible to hide a field in a SQL 2008 Report, based on the value of a parameter? I'm leaning towards a custom application and if push comes to shove I'll have do manually code each piece, but I would like to leverage SSRS as much as possible. I've included a screen shot of the report before it is populated. The area in red is what I would like to hide say, =iif(X=1,true,false)
Set up the Expression In Text box Property >> Visibility >> Show or Hide on axpression.
=iif(X=1,true,false)
Hope this help..
Look for the screen shot and more detail click here
using SSRS manager, Parameter field cannot hide programtically. but you can create asp.net webform with SSRS report. MSDN link