Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Url to Action in Block Controller

Vote:
 

Hi everyone,

Is it possible to generate url for action in block controller?

Thanks in advance.

#88669
Jul 23, 2014 17:58
Vote:
 

Hi, Pavel, not sure what you are trying to achieve, but this blog post might come in handy. That's how you can call an action within a page that contains a block of XFormBlock type, but I guess you can use the same approach for your needs as well:

http://cjsharp.com/blog/2013/04/11/creating-a-xform-block-in-episerver-7-mvc-with-working-validation-updated/

#88677
Jul 24, 2014 10:39
* 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.