Hi,
When closing the edit popup in grid, you should just close it, not cause a postback. Or is there a reason why it causes a postback?
Regards,
Mattias
3 Answers, 1 is accepted
0
Daniel
Telerik team
answered on 01 Feb 2013, 05:31 AM
Hello Mattias,
A postback will be made if you are using server binding because the Grid needs to be rendered again. If you wish to avoid it then you should use server binding.
Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
You mean I shouldn't use server binding?
But that doesn't make sens, the grid is rendered in the background so it doesn't need to be rendered again.
If I click save button in the popup, then it make sens. But I mean clicking on cancel button or cross icon in title bar.
/Mattias
0
Daniel
Telerik team
answered on 04 Feb 2013, 08:27 PM
Hello Mattias,
Yes, the Grid is rendered in the background but the mode parameter that is used by the Grid to determine if it should be rendered in edit mode, will also be added to the links used for the navigation. Thus the postback is needed so that the links are rendered again with the correct URL.
Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!