Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Redirect from a block type


I have a block (created from a block type) on my page which is created from a pagetype, and there is a Submit button in the block type. When user clicks on the submit button, I want to redirect user to a different page (url) on the website. when i use RedirectToAction or Redirect I get this error.

"child actions are not allowed to perform redirect actions." any body came accross this error.

Aug 04, 2014 16:31

You might have the same problem as this person.

Aug 04, 2014 16:51

Oh. Thanks. I understood what I was doing wrong.

Aug 04, 2014 18:59

That's great sapna, don't forget to mark my response as answer so others can see that this thread is solved

Aug 05, 2014 9:25
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.