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

GridHyperLinkColumn to Download File

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohamed Salah Al-Din
Top achievements
Rank 1
Mohamed Salah Al-Din asked on 07 May 2012, 10:09 AM
i am trying to use GridHyperLinkColumn to be able to download file, everything works perfect except downloading the file.
the link appears successfully but when clicking on it nothing happens.

<telerik:GridHyperLinkColumn HeaderText="File"  UniqueName="FILE"  DataTextField="Original_FileName"  Target="_blank"  DataNavigateUrlFields="Physical_FileName"></telerik:GridHyperLinkColumn>

I am using the following structure:

RadAjaxManager in  the MasterPage
RadAjaxManagerProxy in the ContentPage wich host the RadGrid which is inside RadAjaxPanel

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 May 2012, 09:43 PM
Hi Mohamed,

Please review the following help topic which elaborates on downloading files with ajax:
http://www.telerik.com/help/aspnet-ajax/ajax-download.html

Also please note that adding RadAjaxPanel in the RadAjaxPage settings or use the both controls for updating the same part of the page is not a supported scenario and may lead to a lot of different issue. Therefore a single RadAjaxManager on the main page could handle all available scenarios for ajaxifying the needed controls.

Greetings,
Maria Ilieva
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Mohamed Salah Al-Din
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or