İnserting PDF to RadGrid

6 posts, 0 answers
  1. YUNUS EMRE
    YUNUS EMRE avatar
    8 posts
    Member since:
    Apr 2013

    Posted 07 Feb 2014 Link to this post

    Hi All,

    I want to insert pdf file into rad grid like pictures. I can insert picture files but pdf not. How can i do?

    Thanks for you interest. 

    Sincerely
    Yunus
  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 11 Feb 2014 Link to this post

    Hi Yunus,

    I am not completely understand your requirement. Are you trying to upload a file into the grid and allow user to download it? If not could you please elaborate a little bit more on your scenario?

    Regards,
    Kostadin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. YUNUS EMRE
    YUNUS EMRE avatar
    8 posts
    Member since:
    Apr 2013

    Posted 11 Feb 2014 in reply to Kostadin Link to this post

      Hi Kostadin, thanks alot for your interest. yes, as  you said i want to upload a pdf file to radgrid. I want to save path of file to database. And i want to download the file by clicking file link on the radgrid when i want to download.

    Can you help?

    thank you very much for your interest.
  4. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 14 Feb 2014 Link to this post

    Hello,

    Please review the following live example which demonstrates how to use an attachment column.

    Regards,
    Kostadin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  5. YUNUS EMRE
    YUNUS EMRE avatar
    8 posts
    Member since:
    Apr 2013

    Posted 14 Feb 2014 in reply to Kostadin Link to this post

    Thank you alot Kostadin for your interest. I looked this example, it is useful. But in this example files are stored as binary data.
    I want to save file on disk and only store the file path in database. I want download the file by clickinng the hyperlink.

    Regards
    Yunus
  6. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 19 Feb 2014 Link to this post

    Hi Yunus,

    In this case you could use a template column with a HyperLink control as an ItemTemplate and set the NavigateUrl to point to the file. For your convenience I prepared a small sample and attached it to this forum thread. 

    Regards,
    Kostadin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top