Open Word,Excel & PDF

4 posts, 0 answers
  1. Prabha
    Prabha avatar
    26 posts
    Member since:
    Dec 2013

    Posted 17 Jun 2014 Link to this post

    Hi All,

    I have to convert a varbinary data into selected (it may be word/excel/PDF)  document type and show the content in browser itself. May i know which control in Rad will be use for this requirement?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 18 Jun 2014 Link to this post

    Hi Prabha,

    You could simply bind your data or a RadGrid control and use it visualize the data in browser. The RadGrid control also provides export functionality to all mentioned formats. See the examples below:

    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/export-word-csv/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/excel-export/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/pdf-export/defaultcs.aspx




    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Prabha
    Prabha avatar
    26 posts
    Member since:
    Dec 2013

    Posted 18 Jun 2014 in reply to Maria Ilieva Link to this post

    hai Maria ,

    Thank you for your reply. But actually what i need is , i will redirect a page from another page. In that i will pass a querystring(ID). when the page open that it will retrieve the data(file content, file type, filename)  from backend(filecontent  in "Varbinary" format  ) and have to show that file in side any control like iframe(it may be work or excel or pdf).
  5. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 23 Jun 2014 Link to this post

    Hi Prabha,

    What you are trying to achieve is not possible. The reason is that varbinary data type can store anything and in this case you need to manually cover the data and use the RadControls only to visualize the content.

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top