Page 1 of 2
Hand cursor when hovering text
Posted: Fri Sep 04, 2015 8:38 pm
by renatomoselli
Hello,
This forum has been of great help, thanks a lot! Now its my time to ask
I recently updated stimulsoft dll's in a project that i'm working.
Stimulsoft.Base.dll
Stimulsoft.Controls.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll
The previous version was 2013.2.1603.0
The current version is 2014.3.2.0 (it is not a newer version because this is the one is currently being used by the company)
also i inserted the Stimulsoft.MVC.dll
So from now on we can use the StiMvcViewer on new reports, while the old ones will stay in the stiWebViewer
The issue is that the reports that usec the stiWebViewer now have the Hand icon on the cursor, when hovering texts, and when i click any text, a "Refreshing..." message is show and the window blinks.
I would like to get the arrow cursor back, the StiMvcViewer is working fine with the arrow cursor, but the old one is not.
i have attached two images showing the hand and the refreshing/reloading message.
As to solve i tried disabling all kind of sorting on the report, with no success. i have no other idea and haven't found anywhere about this.
I hope you guys can help.
Thanks in advance!
Re: Hand cursor when hovering text
Posted: Mon Sep 07, 2015 12:52 pm
by HighAley
Hello.
Could you send us a sample rendered report for analysis?
Maybe you set the Hyperlink property or any other interaction.
Thank you.
Re: Hand cursor when hovering text
Posted: Tue Sep 08, 2015 1:51 pm
by renatomoselli
Hello, by a sample rendered report you mean the .mrt file? If not, please explain me so i can send it.
Thanks
Re: Hand cursor when hovering text
Posted: Wed Sep 09, 2015 6:12 am
by HighAley
Hello.
Sorry, but this is not that we asked.
Please, go to the Preview or the Viewer and Save the report as Document File.
You should get mdc-file.
Thank you.
Re: Hand cursor when hovering text
Posted: Wed Sep 09, 2015 12:01 pm
by renatomoselli
Hello, sorry for the .mrt file, here goes the report, one rendered through the preview and another through the viewer, if there is any difference.
Thanks!
Re: Hand cursor when hovering text
Posted: Wed Sep 09, 2015 2:09 pm
by HighAley
Hello.
We don't see any interaction features enables in the reports.
Maybe you have made some changes on the page.
Could you send us your aspx page and server-side code that you use?
Thank you.
Re: Hand cursor when hovering text
Posted: Wed Sep 09, 2015 8:38 pm
by renatomoselli
Hello.
Here is the aspx page
Code: Select all
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VisualizarRelatorio.aspx.cs" Inherits="Produto.Relatorios.VisualizarRelatorio" %>
<%@ Register Assembly="Stimulsoft.Report.Web" Namespace="Stimulsoft.Report.Web" TagPrefix="cc1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Visualizar Relatório</title>
<style type="text/css">
body {
margin: 0px;
background-color: #DDD;
}
.sti_viewer {
width: 100% !important;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<cc1:StiWebViewer ID="stiWebViewer" runat="server" ViewMode="WholeReport" ShowExportToGif="false" ShowExportToJpeg="false" ShowExportToPng="false" ShowExportToTiff="false" ShowExportToSvg="false" ShowExportToSvgz="false" ShowExportToMetafile="false" ShowExportToDif="false" ShowExportToXml="false" ShowExportToSylk="false" RenderMode="AjaxWithCache" ShowExportToBmp="False" ShowExportToDbf="False" ShowExportToMht="False" ShowExportToOds="False" ShowExportToOdt="False" ShowExportToPcx="false" ShowBookmarksButton="false" ShowExportToDocument="false" ShowExportToHtml="false" ShowExportToPowerPoint="false" ShowExportToRtf="false" ShowExportToCsv="false" ShowExportToExcelXml="false" ShowExportToWord2007="true" ShowExportToXps="false" ShowExportToText="false" ShowPrintButton="true" DatePickerFormat="dd/mm/yyyy" DatePickerDefaultDate="Today" BackColor="LightGray" OnGetReportData="stiWebViewer_GetReportData" ExcelUseOnePageHeaderAndFooter="true" PageAlignment="StiContentAlignment.Center"></cc1:StiWebViewer>
</form>
</body>
</html>
and the server side code.
Code: Select all
public partial class VisualizarRelatorio : System.Web.UI.Page
{
#region eventos
protected void Page_Load(object sender, EventArgs e)
{
load();
}
void load()
{
if (IsPostBack || IsCallback)
return;
stiWebViewer.GlobalizationFile = "/Relatorios/pt-BR.xml";
var idRelatorio = Request.QueryString["idRelatorio"];
if (String.IsNullOrEmpty(idRelatorio))
return;
var dt = new Db().Select(new Sql("select t.arquivo from relatorios t where t.removido=0 and t.id=?", idRelatorio));
if (dt.Rows.Count == 0 || dt.Rows[0][0] == DBNull.Value)
return;
var bytes = dt.Rows[0]["arquivo"] as Byte[];
var rpt = new StiReport();
rpt.Load(bytes);
rpt.Dictionary.Databases.Clear();
rpt.Dictionary.Databases.Add(new StiSqlDatabase("DB", ConfigurationManager.ConnectionStrings["db"].ConnectionString));
stiWebViewer.Report = rpt;
}
Thanks!!!
Re: Hand cursor when hovering text
Posted: Thu Sep 10, 2015 7:07 am
by HighAley
Hello.
Sorry, our developers say that there was a bug in this build.
Please, try our latest build.
Thank you.
Re: Hand cursor when hovering text
Posted: Thu Sep 10, 2015 11:52 am
by renatomoselli
Hello,
okay, ill try the latest build and when i'm done ill post the results here.
Thanks for all the help my friend!
Re: Hand cursor when hovering text
Posted: Thu Sep 10, 2015 3:19 pm
by HighAley
Hello.
We are waiting for any news from you.
Thank you.