Detail template and partial view

2 posts, 0 answers
  1. Emil
    Emil avatar
    46 posts
    Member since:
    Mar 2016

    Posted 25 Apr 2016 Link to this post



    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 ?




  2. Nikolay Rusev
    Nikolay Rusev avatar
    2287 posts

    Posted 27 Apr 2016 Link to this post

    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. 


    Nikolay Rusev
    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
Back to Top