Good afternoon everyone,
I'm working on a conversion to an async/client-side UI. I know that RadGrid's are rather touchy about master/detail/hierarchical grid types being bound client side, and in addition I need Export functionality on some grids. This is leading to some of the grids being bound the "old" way, via ItemDataBound, NeedDataSource, etc.
What I'm wondering is if the situation is supported in making an ItemDataBound function asynchronous.
For example, I have a grid that displays a set of schedules, and a detail grid that displays a set of backups set to fire on said schedule. There is some parsing that needs to happen in the code-behind ItemDataBound method (setting Image URLs, Tooltips, parsing Recurrence Rules, etc). Is it possible to make those methods asynchronous?
Thanks in advance!
async Task rgrdSchedules_ItemDataBound(
sender, GridItemEventArgs e)
var myItem = (GridDataItem)e.Item;
var taskScheduleGet = await IceApi.ExecuteGet<Schedule>(
"url/to/resource/" + myItem.GetDataKeyValue("ScheduleId").ToString()
// Do Independent Work (Image URLs, ToolTips, etc) //
Schedule mySchedule = await taskScheduleGet;
// Do bindings to mySchedule