Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi all

i am trying to refresh/ reload kendo grid after closing the pop up window.

i have tried

JavaScript
$("#gridPort").data("kendoGrid").dataSource.read();


but this throws an error "undefined".

i did much googling for same but no perfect working idea got.

please help me out
Posted
Updated 11-Jun-14 23:17pm
v2
Comments
SRS(The Coder) 12-Jun-14 5:47am    
Can you please paste the code to give an idea how are you trying to accomplish this ?
In general it should be
i) Define a 'Event' setting where you are defining the window.
ii) On page load check if the 'Model.CloseWindow == true' then close the window.
ii) OnClose call a function which will take care of refreshing the parent page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900