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

Partial view In accordion

3 Answers 123 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Sanhita
Top achievements
Rank 1
Sanhita asked on 18 Jul 2014, 11:11 AM
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.

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 22 Jul 2014, 07:52 AM
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!
 
0
Sanhita
Top achievements
Rank 1
answered on 22 Jul 2014, 09:01 AM
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
0
Petur Subev
Telerik team
answered on 24 Jul 2014, 08:19 AM
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!
 
Tags
PanelBar
Asked by
Sanhita
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Sanhita
Top achievements
Rank 1
Share this question
or