-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullReferenceException when i call OpenFile method #19
Comments
@reliak can you help me please? Thanks a lot |
I guess you have opened your pdf file in Loaded event. Maybe you should use this.UpdateLayout() to force UI to update, so visualtree can find the scrollview which is the templatechild of inner panel |
@jlpuma24 Hi, how did you solve this problem? |
Hi, I have the same issue overhere, it already took me hours. My application consists of tabPages, let's say a Base tab and a Manual tab for displaying PDF manual files. Visual Studio 2015, .NET 4.5.2, WPF application. Any idea what I am doing wrong? |
@reliak did you encounter this also? |
@Minimum006 adding this.UpdateLayout() just before calling the OpenFile method does not help... |
For the record; this is the error message. |
@Minimum006 I see in the debugger that the following code is causing the exception;
|
The author has not been active on github for several years, modify it yourself. |
@netcore-jroger thank you for your message; I am already digging into it; not a clue yet where to fix it |
@focussing You can look at the example. I used this component many years ago but did not encounter your problem.But I have no environment now |
Hi, I got this error message when I called the TogglePageDisplay function. The value of the PageRowDisplay attrib in the xaml was SinglePageRow. I changed the PageRowDisplay to ContinuousPageRows and removed the TogglePageDisplay call. It's just a workaround, of course, but it's working for me. |
Hi, |
Hi, a have a couples of issues regarding the OpenFile method calls, i create my component like this:
After that i call this method:
When the route of PDF on my computer and gives me NullReferenceException
Can you help me with this? Thanks!
The text was updated successfully, but these errors were encountered: