I am using a TelerikDropDownList inside of a @foreach. What I would like when the change event fires is to pass another piece of data from the foreach iteration as well as the selected item in the drop down. Is this possible with the current drop down?
Here is a code sample:
@foreach (WorkItem workItem in workItemGroup.WorkItems)
{
<tr>
<td>@workItem.WorkItemType.WorkItemTypeCategory.Title - @workItem.WorkItemType.Title</td>
<td>
<TelerikDropDownList Class="tlk-dd-sm tlk-dd-bg-white w-100" Data="@departments" TextField="Title" ValueChanged="@((v) => Test(v))"/>
</td>
<td>@workItem.WorkItemStatus.Title</td>
</tr>
}
The only solution that I can think of currently is to create each <td> as its own razor component.
Roger