There are some method or property that reload the page when the user click on cancel button ?
cheers
M.
2 Answers, 1 is accepted
0
Veselin Vasilev
Telerik team
answered on 11 Aug 2008, 09:07 AM
Hello Mauro,
You can try subscribing to the OnClientProgressUpdating event of the RadProgressManager and cancel the request (then refresh the page) as shown in the example below:
I'm trying to do some custom manipulation of the HTML on cancel (I'm hiding the submit form on submit, and I need to un-hide it on cancel). So I tried the code above, but the handler is never being fired after I click Cancel.
Here's my code:
function OnClientProgressUpdatingHandler(sender, eventArgs) {
var progressArea = $find("<asp:Literal ID="litRadUploadClientId"runat="server"/>");
Just a note, the reason for the asp:Literal is that my upload form is in a RadWindow, and putting <% %> tags in there causes errors. Here's what it looks like when it goes to the browser:
function OnClientProgressUpdatingHandler(sender, eventArgs) {