custom user control for reading documents and files in sitefinity 4.3
how to create custom user control for reading documents and files in sitefinity 4.3
Hi Sreeraj,
Can you please elaborate a little bit on the exact functionality you want to achieve, so we can give you a more specific advice. You can easily obtain any Sitefinity content using our API, or the standard .NET methods for working with files located on the filesystem, however your real problem would be handling these documents in the browser - handling the different types of documents. How do you plan on doing it - do you have some ready solution?
In the ideal case you would use Rad TabStrip with Multipage to display the pages under each tab in the menu.
From then on you'll have to think about the way you should handle the documents to open in these pages, not in external applications (MS Office, PDF reader etc.) Maybe you might want to take a look at RadEditor import/export RTF usability, or even better at our Silverlight RichTextBox which can handle *.docx, *.xaml, *.html types of files and offers great functionality. If you wannt to go for really spectacular implementation you can even try the RadBook integration (see RichTextBox >> RadBokk Integration section ). Unfortunately I'm not able to propose you an out of the box solution for PDF documents, maybe you can take a look at some open source controls like ASP.NET PDF Viewer.
All the best,
Boyan Barnev
the Telerik team