This is a migrated thread and some comments may be shown as answers.

İnserting PDF to RadGrid

5 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
YUNUS EMRE
Top achievements
Rank 1
YUNUS EMRE asked on 07 Feb 2014, 08:21 AM
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

5 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 11 Feb 2014, 01:40 PM
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.
0
YUNUS EMRE
Top achievements
Rank 1
answered on 11 Feb 2014, 02:03 PM
  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.
0
Kostadin
Telerik team
answered on 14 Feb 2014, 08:56 AM
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.
0
YUNUS EMRE
Top achievements
Rank 1
answered on 14 Feb 2014, 12:25 PM
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
0
Kostadin
Telerik team
answered on 19 Feb 2014, 08:41 AM
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.
Tags
General Discussions
Asked by
YUNUS EMRE
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
YUNUS EMRE
Top achievements
Rank 1
Share this question
or