Hello, I am trying to use the xamlHtmlViewer to display a local aspx page in my ria mvvm silverlight project. I can get a regular HTML page to display no problem, however the aspx page will not show up for some reason. It just comes up as a blank page. When I right click the aspx page in vs 2010, and select view in browser, it also comes up and displays just fine. Just when I am going through with the xamlHtmlViewer does it come up blank.
I have a silverlight app that displays views side by side. This aspx page consumes an entire view and it worked fine with a simple HTML page.
My goal is to display an aspx page in this xamlHtmlViewer so I can use the aspx to access content that is being displayed inside of it (iframe). It does not need to talk to the silverlight. Is there some limitation of the xamlHtmlViewer to display local aspx or aspx in general?
Sorry, thought I replied last week. I dont knwo the exact version number but I know I have netadvantage 2011.2. I found a quick work around for now, so no I do not need any further assistance, yet.
Thanks again.
Hello,
I am just checking if you require any further assistance on the matter.
Would you please attach a descriptive screenshot that shows your issue because I am not able to reproduce it? Also please tell me the version of the service release that you are using like e.g. 12.1.20121.1016.
Looking forward to hearing from you.
I figured it out.
I took a look at your code but the problem was still on my side, I had to add something in the web.config file to allow aspx. Thank you.
However, I am now faced with another problem. The page comes up but, is cut off about half way down. I adjusted the height everywhere, default page hosting the silverlight, frame hosting the aspx page. The view that carries xamlhtmlviewer, and the xamlhtmlviewer itself. All properties set to a specific height, but the page still gets cut off. Any limitations with the xamlhtmlviewer there?
I have been looking into your post and I was not able to reproduce the issue that you are having. When I load aspx page in the XamHtmlViewrer it seems everything goes write. I am attaching a sample application(HTMLViewIssue.zip). Would you please modify it or attach your own one in order to be able to reproduce your issue.