|117360||Oct 3,2014 10:10 AM||Oct 7,2014 03:11 AM||WinRT||3|
Interestingly, I found the answer on one of the other threads in the forum. Looks like somehow, timings are messed up when you try to open the file from the Initialize (or OnNavigatedTo) events; I've been testing a number of different PDF components the past week and had not come across this error before. Here's the solution I refactored from a previous post (changing the initialize function and adding a timer tick):DispatcherTimer t;
this.InitializeComponent();t = new DispatcherTimer();
t.Tick += t_Tick;
t.Interval = new TimeSpan(0, 0, 1);
}private void t_Tick(object sender, object e)
string fileName = "TestFile.pdf";
}.....Rest of the code is same as above.
Thank you for your interest in Syncfusion products.
We are able to reproduce the issue “Document could not be loaded into the Viewer during initialization”. We have created a direct trac incident (#130472) for this issue, please follow up the incident for its resolution.
Regarding setting the margin, we are not able to reproduce the issue, herewith we have attached a sample with which we tried to reproduce the issue. Please modify this sample or provide us a simple sample with which this issue could be reproduced.
Please let us know if you need any further assistance.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.