Partial view In accordion

4 posts, 0 answers
  1. Sanhita
    Sanhita avatar
    5 posts
    Member since:
    Mar 2014

    Posted 18 Jul 2014 Link to this post

    Hello everybody,

    I have put a partial view in a kendo accordion, the partial view contains a grid with add/edit and delete functionalists, it was working alright but after putting it in an accordion its showing some issues...

    1. After adding a new record if you go to edit the same record, the grid refreshed and you have to search for the newly added record.
    2. When you click the delete button the message 'Do you want to delete the record' comes twice.

    Please help me I am really stuck.
  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 22 Jul 2014 Link to this post

    Hello Sanhita,

    It sounds like that the Grid is initialized twice however we cannot be sure what exactly has gone wrong. Could you please share more details about your setup? Or if possible provide a small example by editing any of our existing ones by simply clicking the edit this example button in the demo and write your logic to demonstrate the case:

    http://demos.telerik.com/kendo-ui/panelbar/index

    Thank you for the cooperation.

    Kind Regards,
    Petur Subev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Sanhita
    Sanhita avatar
    5 posts
    Member since:
    Mar 2014

    Posted 22 Jul 2014 in reply to Petur Subev Link to this post

    Hi,

    Thanks a lot for getting back. I have posted my code(Main Index page and one partial view) in the url

    http://dojo.telerik.com/oPeQ

    Any help will be very much appreciated.

    Sanhita
  5. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 24 Jul 2014 Link to this post

    Hello Sanhita,

    By just inspecting the code I am not sure what exactly might go wrong.

    The code that you shared uses the MVC wrappers and it is not runnable. Could you please put this within a small runnable mvc application so I can see what exactly goes wrong?

    Regards,
    Petur Subev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready