Setting the DocumentSource property in the latest official version of RadPdfViewer Q3 2013 will do this automatically for you. I would suggest downloading and using the latest version of the controls in your project.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>