Why would a page refresh fire the grid's insertcommand? If you add a new row with auto-insert enabled and then right-click and refresh the screen it fires the insertcommand again. How can I stop this behavior?
3 Answers, 1 is accepted
0
Vlad
Telerik team
answered on 04 Feb 2008, 07:52 AM
Hi David,
If you are using regular post-backs the page refresh will attempt to repost last post to the server - this will not happen if you use ajax.
and in your insert command check the isRefresh value, if it's false then perform the insert action,
isRefresh will be true if the page reloaded by using the refresh button.