what I have is List(of Notification) with Notification having a List(of SendAttachments), I want to show all the fields for the notification and a column with multiples links (one link per attachments in the List(of SendAttachments) in order for the user to click on the attachment that he wants.
I got this in my codebehind:
and this in my aspx:
but I don't know how to create the links dynamically in the last column, any Help?
I got this in my codebehind:
1.
rgvNotification.DataSource =
CType
(GetNotificationHistoryByDetailId(CDetailID), IEnumerable)
2.
rgvNotification.Rebind()
and this in my aspx:
01.
<
Columns
>
02.
<
telerik:GridBoundColumn
03.
DataField
=
"NotifiedDate"
04.
HeaderText
=
"Notified Date"
05.
UniqueName
=
"NotifiedDate"
>
06.
<
HeaderStyle
Width
=
"140px"
></
HeaderStyle
>
07.
</
telerik:GridBoundColumn
>
08.
<
telerik:GridBoundColumn
09.
DataField
=
"NotifiedPersonName"
10.
HeaderText
=
"Notified Person(s)"
11.
UniqueName
=
"NotifiedPersons"
>
12.
<
HeaderStyle
Width
=
"150px"
></
HeaderStyle
>
13.
</
telerik:GridBoundColumn
>
14.
<
telerik:GridBoundColumn
15.
DataField
=
"NotifiedEmail"
16.
HeaderText
=
"Notified Email(s)"
17.
UniqueName
=
"NotifiedEmails"
>
18.
<
HeaderStyle
Width
=
"410px"
></
HeaderStyle
>
19.
</
telerik:GridBoundColumn
>
20.
<
telerik:GridBoundColumn
21.
DataField
=
"Message"
22.
HeaderText
=
"Message"
23.
UniqueName
=
"Message"
>
24.
<
HeaderStyle
Width
=
"410px"
></
HeaderStyle
>
25.
</
telerik:GridBoundColumn
>
26.
<
telerik:GridBoundColumn
27.
DataField
=
"Attachments.Count"
28.
HeaderText
=
"Sent Docs"
29.
UniqueName
=
"SentDocs"
>
30.
<
HeaderStyle
Width
=
"100px"
></
HeaderStyle
>
31.
</
telerik:GridBoundColumn
>
32.
33.
</
Columns
>
but I don't know how to create the links dynamically in the last column, any Help?