1
Problem with DocumentViewerControl inside Callback panel
Problem reported by Chris Bart - 3/27/2024 at 1:21 AM
Resolved
Hello.
I'm currently testing their DocumentViewerControl in ASP.NET Webforms.

I would like to use the DocumentViewerControl within a DevExpress callback panel.
I send a callback to change the document to be displayed in the DocumentViewerControl.

Problem:
After the callback, the DocumentViewerControl no longer exists.

2 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Resolution
Please first see these threads, it's similar problem with Microsoft's UpdatePanel:

The easy solution would be creating an ASPX page for the document viewer, and using an iframe ponting to that ASPX in your callback panel. You can pass your document via querystring to iframe src like DocViewer.aspx?doc=MyDocument.pdf
0
Chris Bart Replied
Hi. The solution with the iFrame works fine.
Thanks.

Reply to Thread