I have a site in sharepoint.I have a one Document library in site. I like to load the content of particular document in my custom web part.

how do I get content of particular document using code behind? I like to display particular document content in my literal control in my custom web part.

  • if it's SharePoint 2013, use Office Web Apps server otherwise your question is duplicate of sharepoint.stackexchange.com/questions/41268/… :) Feb 11, 2014 at 13:30
  • No...I want to display Document contents in my web part not to be display on hover.....for now think about that there is only one document in document library and that I want to display Feb 12, 2014 at 4:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.