Hi there,
I read the other ticket. Below is section from web.config which Projection Converter handle beautifully.
C#<add assembly="DevExpress.Printing.v18.1.Core, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraReports.v18.1, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraReports.v18.1.Web, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraReports.v18.1.Web.WebForms, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraPivotGrid.v18.1, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.PivotGrid.v18.1.Core, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraScheduler.v18.1.Core, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.ASPxScheduler.v18.1, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
webform
C#<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SupplierContact.aspx.cs" Inherits="SupplierContact" %>
<%@ Register assembly="DevExpress.XtraReports.v18.1.Web.WebForms, Version=18.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraReports.Web" tagprefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<dx:ASPxDocumentViewer ID="ASPxDocumentViewer1" runat="server">
</dx:ASPxDocumentViewer>
</div>
</form>
</body>
</html>
code behind
C#using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using apreports;
public partial class SupplierContact : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Session["Company"] = "Agenda Media Services, Inc";
string dbcon = DBConnection.LoadConnectionString(2014);
XtraSupplierContact myReport = new XtraSupplierContact(dbcon);
myReport.Parameters["Company"].Value = Session["Company"].ToString();
ASPxDocumentViewer1.Report = myReport;
}
}
apreports is in a separate project which contains all the AP reports. Did ASPxDocumentViewer get drop in v 18.1.18
Hello,
No, we have not dropped or marked the ASPxDocumentViewer component obsolete even in v18.2: it is still available, but its source code resides in the DevExpress.XtraReports.v18.1.Web.WebForms assembly starting with v18.1 version according to the BC4270 - The ASPxReportDesigner, ASPxWebDocumentViewer, ASPxDocumentViewer and ASPxQueryBuilder classes have been moved to the DevExpress.XtraReports.v18.1.Web.WebForms assembly breaking change.
In fact, I see no issues in the code snippets you provided and I've tried to create a project of v17.2 and then convert it to v18.1, but was not able to reproduce this behavior on my machine. See the attached video.
Are you able to strip down the related project parts into a sample that demonstrates this issue and then send it to us? Alternatively, you can send us the source code of the affected web form and the web.config file (do not forget to clear out any sensitive information from there).
I look forward to hearing from you,
Thanks,
Dmitry
Hi Dmitry,
"No, we have not dropped or marked the ASPxDocumentViewer component obsolete even in v18.2"
Good, this should save some time. 'the BC4270" I read this another ticket. The project isn't that big.
My reports are in different projects for each module. However, I made a copy with just two reports.
I will upload a before and after along with a video.
Thank you,
Joe
Here is the before
Here is the After