This is a migrated thread and some comments may be shown as answers.

Selectively remove ClientDetailtemplate from Grid

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
GCS
Top achievements
Rank 1
GCS asked on 15 Jul 2014, 12:35 AM
I am using a Grid that is contained within a partial view.  This grid uses a ClientDetailTemplate

     .ClientDetailTemplateId("plan_client_template")

when the grid is used in one instance, the ClientDetailTemplate is appropriate.  However, in another instance it is not. Is there a way that I can programatically remove the ClientDetailTemplate when used within a partial view. I'm thinking that perhaps I can execute some startup javascript but I'm not sure what code to write. 

Thanks. 

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 16 Jul 2014, 11:28 AM
Hi Dave,

Could you please elaborate more on the exact scenario that you have? From the provided information it's not clear for us when the detail template should be removed.

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
GCS
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or