Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi All,
into an usercontrol, I want to redirect to other internal page after a form submit. So I've try in two way;
Response.Redirect("page.aspx",true)
Response.Redirect(umbraco.library.NiceUrl(1383),true);
In both the error is the same, so that "Thread interrupt"
Do you can help about this?
Tnx
Hi. I'm not absolutely sure it should help, but try to call the Redirect method with the false as the second argument.
It's work!
Thanks a lot Rodion
Or just keep it to true (which I always use, why wouldn't you want to end the current response?)...
The exception shouldn't matter, is the statement in a try { } catch { } block?
It is in a statement in try/catch block, the issue was reproduced also without "end response" set to true. Work only if it is set to false.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Redirect issue
Hi All,
into an usercontrol, I want to redirect to other internal page after a form submit. So I've try in two way;
In both the error is the same, so that "Thread interrupt"
Do you can help about this?
Tnx
Hi. I'm not absolutely sure it should help, but try to call the Redirect method with the false as the second argument.
It's work!
Thanks a lot Rodion
Or just keep it to true (which I always use, why wouldn't you want to end the current response?)...
The exception shouldn't matter, is the statement in a try { } catch { } block?
It is in a statement in try/catch block, the issue was reproduced also without "end response" set to true. Work only if it is set to false.
is working on a reply...