I use 2 SqlDataSource to my RadGrid. The GridAttachmentColumn get AttachmentData from SqlDataSource3 and the rest of the grid from SqlDataSource1
Byt the FileNameTextField and DataTextField gets the Imagename from SqlDataSource1. How get i all from SqlDataSource3 AttachmentDataField, FileNameTextField and DataTextField?
<
telerik:GridAttachmentColumn
SortExpression
=
"ImageName"
UploadControlType
=
"RadAsyncUpload"
DataSourceID
=
"SqlDataSource3"
MaxFileSize
=
"20971520"
AllowedFileExtensions
=
"jpg,jpeg,png,gif"
EditFormHeaderTextFormat
=
"Ladda upp bild:"
AttachmentDataField
=
"ImageData"
ButtonType
=
"ImageButton"
ImageUrl
=
"../images/thumb/images.gif"
AttachmentKeyFields
=
"ID"
FileNameTextField
=
"ImageName"
DataTextField
=
"ImageName"
UniqueName
=
"ImageColumn"
ItemStyle-HorizontalAlign
=
"Center"
HeaderStyle-Width
=
"33px"
>
</
telerik:GridAttachmentColumn
>