RadControls for ASP .NET AJAX version |
2009.2.826 and later
|
.NET version |
3.5 and later
|
Visual Studio version |
2008 and later
|
Programming language |
C#, Javascript |
Browser support |
all browsers supported by RadControls for ASP .NET AJAX
|
PROJECT DESCRIPTION
The following project demonstrates how RadBinaryImage can be placed inside a LinkButton and used for downloading the stored binary image on click. The LinkButton that contains the binary image is placed in the ItemTemplate of the MasterTableView and fires a custom command. The latter is handled in RadGrid's ItemCommand event, where the database is queried for the image data and the content is written to the HTTP response stream.
The project uses Telerik.mdf SQL data file, that is included with your Telerik RadControls installation package and can be found in directory
\LiveDemos\App_Data, relative to your installation folder.