Are using the
<script type='text/javascript'> Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; } </script>2011.2.915.35,
the select buttons of the initially hidden file upload dialog are displayed under the
<telerik:GridTemplateColumn HeaderText="Roles" UniqueName="Roles" AllowFiltering="true">
<ItemTemplate>
<asp:Label runat="server" ID="lblRoles"></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
and using the below code I am getting values to the labels
protected void uiUserRoles_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
GridDataItem item = (GridDataItem)e.Item;
AcsAuthorizationProvider.Entities.ApUser apUser = e.Item.DataItem as AcsAuthorizationProvider.Entities.ApUser;
if (apUser != null && !string.IsNullOrWhiteSpace(apUser.UserName))
{
Label lblRoles = (Label)e.Item.FindControl("lblRoles");
if (lblRoles != null)
{
AcsRoleProvider acsRoleProvider = new AcsRoleProvider();
string[] roles = acsRoleProvider.GetRolesForUser(apUser.UserName);
lblRoles.Text = string.Join(", ", roles);
}
}
}
}