EditorTemplate is ignored in production

1 Answer 165 Views
Editor Grid
Yasir
Top achievements
Rank 1
Yasir asked on 23 Jan 2022, 10:07 PM

Hi, I have a Grid for which I have an EditorTemplate. Everything works fine in development, but it fails in production, it seems like the editortemplate is ignored. In Index.cshtml:

.Editable(editable => { editable.Mode(GridEditMode.PopUp).TemplateName("PatentTmpl"); })
This is just enough to make it work in development environment, but when I publish the project it doesn't work, no matter what I've tried. 

The template is located both in Patents/EditorTemplates and Shared/EditorTemplates. 

Did anyone have a problem like this before, or any ideas what to try? It just doesn't make any sense that it's not working in production.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 26 Jan 2022, 12:26 PM

Hi Yasir,

By design, the Telerik UI widgets do not apply different logic when they are hosted locally or deployed on a server. Therefore, there might be a configuration missing for the hosted version. 

I would encourage you to review the following threads that elaborate on the issue further:

Let me know if the issue persists.

 

Kind regards,
Tsvetomir
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Editor Grid
Asked by
Yasir
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or