If you need to execute some logic on initial load and after every AJAX request, you should handle the pageLoad
instead of the $(document).ready()
// your logic
Some detailed information regarding the difference between pageLoad
is available in the following article:
Hope this helps.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.