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

Detail template and partial view

1 Answer 433 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Emil
Top achievements
Rank 1
Emil asked on 25 Apr 2016, 12:56 PM

Hello,

 

Can you use the detail template to display a partial view thats loaded by ajax ?

 

I currently have a div outside of the grid that is loaded when you click a line in the grid , but it would be smarter if it just opened up a detail and displayed the partial view there in.

 

Any ideas on how to do that ?

 

Regards,

Emil

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 27 Apr 2016, 07:20 AM

Hello Emil,

 

You can use detailInit event to initialize the detail template. However if the content is loaded asynchronously you should have a place holder into which to append once the response is received. 

 

Regards,
Nikolay Rusev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Emil
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or