Thank you for contacting us!
Due to limitation of Silverlight, the file system is a subject of security restrictions. That is why you cannot open a file (in your case "C:\Ramesh\Books\Sample.pdf" ) from your local drive without using Open File Dialog. As far as our research shows, out-of-browser applications with elevated trust might allow you access to such files.
In order to make the code you sent us work and load a file with Path PDFViewerTelerikDemoMVVM;component/SampleData/Pro.Silverlight.5.in.CSharp.4th.Edition.pdf
you need to set the Build Action property of the pdf file to Resource.
Don't hesitate to contact us again!
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>