I have a web page on which i am applying Ajax enabled update progress bar on submit button.
In this submit button click i am doing some database operations and if operations are
successful then page is server.transfer to another page.
My problem is that i have to implement progress bar on this submit button and page
should redirect to another page. But i am getting page request manager exception on server .transfer.
I can’t use response.redirect due to some security features,Please give me
solution or work around to avoid page request manager exception.
Thanks for your reply ,you have given a good suggestion ,i have also find out a solution for this problem which i want to share ,it worked fine for me.Because my problem is to maintain hidden variables and to server.transfer so i have put my code like this.
I have put 2 buttons one inside update panel and another outside of update panel so when inside update panel button’s click event will fire then it will do database operations and
after successful db operations it will call a java script function from server side like this
}
Java script Code
In this JavaScript Code I have put postback call to another button which is outside of update panel and in that button’s click event i am firing server .transfer to new page like this
In the above way i can call server.transfer on ajax enabled postback click and i saved my code from page request Manager exception .I think its a work around for the problem but it works fine for my requirements.