Hi,
I'm using Kendo grid within div and while reading data I'm blocking to prevent user activity on it. I need to put long process cancellation button in order to cancel ajax grid request.
$(
'#div'
).block({
message:
'<h1 style="color:blue;">אנא המתן...</h1><br><input type="button" value="CANCEL" onclick="cancelSemHours()"/>'
});
On server side I'm supposed to implement following in data read action :
if
(!Response.IsClientConnected)
{
Response.End();
}
How do I implement the client-side cancellation with kendo grid? (cancelSemHours function)
Thank you in advance,
Waiting for your kind and prompt reply
Shabtai