Showing posts with label displayed. Show all posts
Showing posts with label displayed. Show all posts

Friday, March 9, 2012

I am not able to load two different images dynamically in an Image control

HI,

Base on pagenumber, i need to display a particular image in first page and another image in next page.

there are two images and has to be displayed alternatively in the pages.

but, it is displaying only one image everytime.

I am using Exteranl and URL based concept and using parameters to pass the values from the front end to the report

One more thing I did was, I place two image controls and passing the URL through two parameters having the URL as the value.

but still the both the image controls display only one image.

it should be possible to use expression to show image conditionally.

set image value property to expression, for example, for URL image:

=iif(<Some condition>,
"http://localhost/Reports/images/48folderopen.jpg",
"http://localhost/Reports/images/16prop.gif")

|||

Hi,

I am using an expression.

One more thing I am getting the path thru the Parameters.

I have two different Paths one for customer logo and another is company logo

and i have used the parameters in iif conditon.

example: iif((Globals!PageNumber) Mod 2 = 0,Parameters!RgLogoPath.Value,Parameters!CustLogoPath.Value)

one more thing i tried is

place two image controls in Page Header and in the Value i used expression and for both the images i gave Parameters!RgLogoPath.Value and Parameters!CustLogoPath.Value respectively. when i saw the preview , only one image was displayed in both image controls

|||Is this happening in page headers only? Does it work differently if put in the report body?

Friday, February 24, 2012

Hyperlink Target property in SharePoint 2007 Report Viewer Web Part

SharePoint 2007. I have the SSRS Web Part embedded in a page as part
of the dashboard. The SSRS Report displayed in the SSRS Web Part
contains a link (aka Jump To Report) to a second report. I want the
second report to open in the parent SharePoint page, not in the Web
Part.
The Web Part contains a property called "Hyperlink Target", which
should specify where hyperlinks are opened. Even if I set this
property to be "_blank", the second report opens inside of the web
part.
Had anyone been able to use the "Hyperlink Target" of the Sharepoint
2007 SSRS Web Part?Anyone?

Hyperlink Target in Same Frame

I'm having trouble creating a hyperlink that opens the page in the same frame (_self). I have a report being displayed in a frame, and want a hyperlink to stay in the same frame. I've read all about opening a new window, etc., etc., but the techniques I've read about don't work for the "_self" target.

I've tried appending the "&rc:LinkTarget=_self" to the URL, but that doesn't work. I've also tried the javascrippt options but they don't work either. They work fine for opening a new window, but not for staying in the same frame.

When I look at the source code generated for a hyperlink in a report page, it specifically spells-out "target=_top" in the resultant code, even though I'm not specifying that anywhere. If I could only suppress that, then it might work and stay in the same frame.

Can anyone help here? Thanks.

Did you happen to solve this issue? I was just trying to do the same thing and I'm not getting anywhere.

Thanks,

Derek

|||

Derek,
I had to add the target parameter in the report control on the web page:
<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" PromptAreaCollapsed="True" Width="100%" Height="98%" HyperlinkTarget="_self">
Now, I'm not sure if it's still needed, but I also have this in the hyperlink in the report XML:
<Action>
<Hyperlink>="http://www.somewhere.com/Page.aspx?ID=" &amp; trim(Fields!ID.Value) &amp; "&amp;rc:LinkTarget=_self"</Hyperlink>
</Action>
This worked and now the hyperlinks in the reports stay in the same frame. Hope this helps!
Dan

Hyperlink Target in Same Frame

I'm having trouble creating a hyperlink that opens the page in the same frame (_self). I have a report being displayed in a frame, and want a hyperlink to stay in the same frame. I've read all about opening a new window, etc., etc., but the techniques I've read about don't work for the "_self" target.

I've tried appending the "&rc:LinkTarget=_self" to the URL, but that doesn't work. I've also tried the javascrippt options but they don't work either. They work fine for opening a new window, but not for staying in the same frame.

When I look at the source code generated for a hyperlink in a report page, it specifically spells-out "target=_top" in the resultant code, even though I'm not specifying that anywhere. If I could only suppress that, then it might work and stay in the same frame.

Can anyone help here? Thanks.

Did you happen to solve this issue? I was just trying to do the same thing and I'm not getting anywhere.

Thanks,

Derek

|||

Derek,
I had to add the target parameter in the report control on the web page:
<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" PromptAreaCollapsed="True" Width="100%" Height="98%" HyperlinkTarget="_self">
Now, I'm not sure if it's still needed, but I also have this in the hyperlink in the report XML:
<Action>
<Hyperlink>="http://www.somewhere.com/Page.aspx?ID=" &amp; trim(Fields!ID.Value) &amp; "&amp;rc:LinkTarget=_self"</Hyperlink>
</Action>
This worked and now the hyperlinks in the reports stay in the same frame. Hope this helps!
Dan