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

[Solved] Refresh button not sending anti-forgery token

0 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Philip Senechal
Top achievements
Rank 1
Philip Senechal asked on 25 Aug 2011, 05:27 AM
Not sure what I missed here...

I have a grid that does an Ajax select perfectly fine. I have a client-event for OnDataBinding that attaches the anti-forgery token to the request. I just noticed however, that if you click the refresh button in the bottom left of the grid, it fires off the Ajax Select method again, but the anti-forgery token isn't sent this time. Is there a different event that I need to tie into and attach the anti-forgery token for Refresh or does the Refresh ignore the OnDataBinding client-event? Thanks =)

UPDATE--
Actually looks like it was a javascript error. I cleared out the cache to reload the .js file and it was fine.
Tags
Grid
Asked by
Philip Senechal
Top achievements
Rank 1
Share this question
or