I am working on asp mvc, in which i have jquery datatable and some chart elements, i am fetching all of items by ajax calls.
now i need to redirect user if any of ajax (datatable json data and image for chart)call encounter exception. Now i am using datatable's error callback that give me required html that am generating when exception has occurred, but at the same time along with datatable i am sending 7 more jquery call to controllers whose output is depend on datatable's result,so these 7 call trap in infinite loop. now how do i stop this processing at server side if my datatble's function encounter error.
Thanks in advance.