SSRS Report Hyperlink Loses Functionality in .net Application - asp.net

I have an SSRS report that employs RowGroups to group data. One of the fields used in the group is a field that stores a URL as text. I've set a Go To URL action on a textbox which enables it to act as a hyperlink that opens up the URL stored as text in a field (i.e. =Fields!URL.value).
The textbox works fine in BIDS and in Report Manager, but when the report is accessed through our custom .asp Reporting Application, the textbox loses this link functionality. It just becomes text. When the mouse is hovered over the textbox, the cursor does not change. I've created another textbox on the report outside the RowGrouping and configured it the same way, and it works fine in the Report Manager and on the Report Application.
Is there any particular configuration that could be restricting a Go to Action property when in a RowGroup on a Reporting Application? Could this be an issue with the report, or an issue on the Reporting App end?

If you are using the ReportExecutionService check to make sure Javascript is true in the device info parameter?
<DeviceInfo>
<JavaScript>True</JavaScript>
</DeviceInfo>
But you said it worked if it was in another part of the report?
link to <DeviceInfo> Details

Never really found an answer to this problem, but a work around I used was placing a textbox to the right of the grouped textbox, where the link seems to work fine.

Related

ReportViewer disappears after clicking link inside ReportViewer

I have a ReportViewer (for SSRS) in an ASP.NET application.
The user enters in parameter information through the web form and then submits it.
The ReportViewer then returns a small report that shows counts of the information requested.
Next to these counts are links (assigned in BIDS) to link to the corresponding report using the parameters already entered.
It all renders fine until I click one of the links in the ReportViewer. It will then give the brief "Loading" dialog and then the ReportViewer disappears.
Not sure how to handle this and I can't find much information on it. I would ideally like the selected report to open in a new window (no URL bar, etc).
Please help!
This ended up being an issue with how ReportViewer was installed on our development and production servers. So when it seems like nothing else can explain what is going on with the ReportViewer... make sure the DLLs are properly installed on your server.

Tampering With Control Text in ASP.NET

I was recently discussing this with someone, and I wasn't sure if this is an issue or not.
We are creating an ASP.NET website and if the user performs an action on a page we might create a database query using the Text values on controls that we have previously populated.
Could a user do something malicious like modify the text of a label control in their browser, then hit the update button and when we pull that label's .Text we end up inserting that value into the database?
It's easily done via firebug, for example, yes. Make sure you sanitize/validate any input coming in to prevent SQL injection or any other malicious intent.
Have a read of this MSDN article for more help.

SSRS - Link not clickable in .net Report Application

I have a report that specifies a 'Go to URL' action for a textbox. The URL I am using is simply a field from the dataset, so the expression for the URL is something like "=Fields!URLLinkText.Value". When I deploy the report to SSRS Report Manager, the link works fine. It is clickable and opens the URL. However, when I link to the report from the custom asp.Net Reporting Application, the link is not clickable. The cursor of the mouse does not even change when I hover over the link. It seems like the hyperlink/Go To property of the textbox is completely removed. At first, I thought that this had to be an issue with the configuration of the reporting app, which was disabling external hyperlinks. However, I created another report with just one textbox with a Go To Action to go to www.CNN.com and it worked on both the Report Manager and the Report Application...
Any suggestions?
I was just posting about a possibly related issue. It does not involve any custom reporting app though. http://weblogs.asp.net/mnissen/archive/2009/03/26/reporting-services-does-not-display-hyperlink-for-placeholder-with-go-to-url-action.aspx
A few different options you can try: wrap the link in javascript, try "servername:port" instead of the site name if its internal, or try reversing the slashes like http backslash backslash...
You will need to handle the Hyperlink clicked event for your reportviewer control:
Assign the handler in your reportviewer constructor
YourReportViewerControl.Hyperlink += new HyperlinkEventHandler(YourReportViewerControl_Hyperlink);
void YourReportViewerControl_Hyperlink(object sender, HyperlinkEventArgs e)
{
e.Cancel = true;
System.Diagnostics.Process.Start(e.Hyperlink);
}

Drill Through Report for new window

I have got one problem with MS Reporting Services. I created a asp.net page with report viewer control. The report viewer control renders the report on the MS Reporting Services. I created an action in textbox within the report. This action is "go to report". This action makes that the another report is called. In my case, I want to create a new window with the called report. But I don't want to use go to url. Because I don't want to show my parameters within url. How can I do this? Thanks.
I'm not able to test this at the moment, but I think setting the HyperlinkTarget property to _blank on the ReportViewer should do the trick.
http://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.reportviewer.hyperlinktarget.aspx

FreeTextBox only populates after page refresh

Im using "FreeTextBox" for users to edit web content (ASP.NET VB)
I query the database on pageload and set:
FreeTextBoxFoo.text = dbFoo.GetValue(2).ToString()
This DOES return the correct string data if I write it to an asp:Literal for example.
However nothing shows in the text box, until I refresh the page (F5)
Now in running the application in Visual studio in debug, it works ok.
So where is this string data getting lost, or hung? is it being loaded into the textbox but not displayed until a postback??
ETA: I forgot to mention this is inside an ASP:AccordionPane
Added more...
It seems that if I put the textbox outside the accordion panel, then it populates ok, so might be something to do with the order of execution?

Resources