BeginRequest and EndRequest

I need to disable page when request is sending and enable page when request is complete. For example when grid is loading. How can I do it?

You can use onXLE and onXLS events.
onXLE - event occurs simultaneously with ending XML parsing, new items are already available in the grid.
onXLS - event occurs before sending the request for a new XML to the server.