This could be achieved in a few ways:
- Use a condition in the Grid initialization options and pass either a valid template ID or an empty string. For example:
.ClientDetailTemplateId( isAuthorized ?
- Subscribe to the Grid's dataBound event. Once the event is triggered check whether the user is authorized and if it not - hide all the expand/collapse arrows
- Subscribe to the detailExpand event and replace the template output with a notification. For example:
"You are not authorized"
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.