This question is locked. New answers and comments are not allowed.
I have grid that does ajax binding
I have tried to access this action with an unauthenticated user, but the e.textStatus always "parseerror" and the xhr status always undefined, not HTTP 403.
Could you please guide me to the right direction to handle this.
Using 2011.Q3.1115
[GridAction][Authorize]public ActionResult _Select(){ return View(new GridModel(db.Rekanans.ToList()));}@{Html.Telerik().Grid<Rekanan>() .DataBinding(db => db.Ajax() .Select("_Select", "Rekanan") ) .ClientEvents(e=>e.OnError("onGridError")) .Render(); }<script type="text/javascript"> function onGridError(e) { var xhr = e.XMLHttpRequest; var status = e.textStatus; alert(status); alert(xhr.status); e.preventDefault(); }</script>I have tried to access this action with an unauthenticated user, but the e.textStatus always "parseerror" and the xhr status always undefined, not HTTP 403.
Could you please guide me to the right direction to handle this.
Using 2011.Q3.1115