CppMax Homepage
Forum Home Forum Home > ReportMax > ReportMax
  New Posts New Posts RSS Feed - WebViewer in asp.net application
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

WebViewer in asp.net application

 Post Reply Post Reply Page  123>
Author
Message
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Topic: WebViewer in asp.net application
    Posted: 25 Apr 2016 at 6:04pm
I notice the web viewer is output as a PDF. Is it possible to view the web control within a webpage with other asp.net controls?
Back to Top
emadns View Drop Down
Admin Group
Admin Group


Joined: 06 Feb 2012
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote emadns Quote  Post ReplyReply Direct Link To This Post Posted: 25 Apr 2016 at 6:58pm
Currently as of ReportMax 3.5 there is only PDF output. Weven are looking into viewing the report within a DIV. Weven will update this thread once there is an update. We apologize for inconvenience.
Back to Top
emadns View Drop Down
Admin Group
Admin Group


Joined: 06 Feb 2012
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote emadns Quote  Post ReplyReply Direct Link To This Post Posted: 25 Apr 2016 at 8:33pm
You may want to embed the PDF in an iframe
Back to Top
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 2016 at 10:10am
Thank you.
Back to Top
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 12:03pm
Hi I have placed the report in the iframe and got it to work. My only problem is when a query returns no rows a big 'Document has no pages error is thrown'. I did an if-else to make the reportviewer visible set to false once no rows are return, but it doesn't work. Any ideas?
Back to Top
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 1:30pm

Hi I have placed the report in the iframe and got it to work. My only problem is when a query returns no rows a big 'Document has no pages error is thrown'. I did an if-else to make the reportviewer visible set to false once no rows are return, but it doesn't work. Any ideas?
Back to Top
emadns View Drop Down
Admin Group
Admin Group


Joined: 06 Feb 2012
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote emadns Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 1:42pm
We are looking into the issue. We will provide you with a workaround while we fix it. Sorry for inconvenience
Back to Top
emadns View Drop Down
Admin Group
Admin Group


Joined: 06 Feb 2012
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote emadns Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 2:05pm
This only indicates that there is an error. Did you assign ReportFile property of the ReportMaxWebViewer control



Back to Top
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 2:59pm
Yes I did, im setting the datasource in codebehind because there will be some search features for the report.
Back to Top
BelizeanProgrammer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 Oct 2015
Location: Belize
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote BelizeanProgrammer Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 2016 at 3:04pm
I seem to have found the solution. I had to preview the report with just the labels in place before putting on the fields that required the dataset/. Hope this helps someone else
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.06
Copyright ©2001-2016 Web Wiz Ltd.