Try our conversational search powered by Generative AI!

Overriding InputFragment.ascx view

Vote:
 

Episrever Form rendering uses separate views for form elements, for example "

#121352
May 07, 2015 10:28
Vote:
 

Hi!

Try to add the view to the EditorTemplates folder instead.

#121354
May 07, 2015 12:28
Vote:
 

Hi,
unfortunatelly it doesn't help, looking throuch code there is this piece responsible:

viewEngineWrapper.FindPartialView((ControllerContext) htmlHelper.ViewContext, fragment.GetType().Name);

Here viewEngineWraper is of type CachingViewEnginesWrapper and result resolves to UtilViewEngine, which uses internal EPiserver view.

#121355
May 07, 2015 12:44
Vote:
 

Hi again.

Maybe you can find something useful in this blog post: http://www.eyecatch.no/blog/2013/09/full-customization-of-xforms-with-episerver-7-and-mvc/

#121381
May 07, 2015 19:41
* 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.