Hi Vinod,
I'm not sure I fully understand what you are trying to achieve, however, if you want to work with AJAX calls and execute some code you may be able to find some inspiration from this blog post:
http://stackoverflow.com/questions/33354129/kentico-have-one-webpart-reload-a-second-webpart-using-ajax
In the post, Rocky shows how to wrap the web part with a div and then call the doPostBack function. This may help do what you need.