Kendo UI for JQuery MVC, edit Widgets in Grid don't appear in Production

1 Answer 12 Views
Date/Time Pickers Grid
Walter
Top achievements
Rank 2
Iron
Walter asked on 16 May 2024, 04:11 PM

Kendo UI for JQuery MVC 2024.1.319 upgraded in WebApp to .NET 4.6.2. Runs fine in VS 2019, but when deployed to web server, the, the Date and Time pickers don't appear when editing a Grid cell DateTime field, instead it just has a text box with the likes of "Wed May 08 2024 01:30:00 GMT-0400 (Eastern Daylight Time)".  I've compared the Dev build (which works) to the Production deployment, and all the files match up. Which suggests that something is out of date or missing. Not seeing any errors in the Developer's Tools' Console (other than some cookies being blocked, which sounds unrelated).

Kendo.MVC.resource.dll (Kendo.MVC.Web) shows version 2024.1.319.545 with in the Bin folder under IIS, so it seems like at least that much is what is expected - could I have ended up with a mixed bag of Kendo libraries or scripts?  How would I tell?

I am new to Kendo UI, so this may be a pretty obvious thing, but I've just about exhausted the obvious and simple things I can think of to check!

Thanks in advance!!

Walter
Top achievements
Rank 2
Iron
commented on 16 May 2024, 05:46 PM

UPDATE!

I found that the html code differs between RELEASE build and DEBUG build - the difference being that the DEBUG build incorportates the EditorTemplates and the RELEASE build appears to substitute just plain Text Boxes for the Kendo Widgets. But I haven't been able to figure out WHY yet... all help appreciated!!

Walter
Top achievements
Rank 2
Iron
commented on 16 May 2024, 06:27 PM

2nd UPDATE!

Looks like the EditorTemplates folder under the Views\Shared folder and its contents were not actually added to the Project/Solution when I was building the application. Not sure how that happened, coulud be because I am a newbie to Kendo and its tools, or perhaps a glitch somewhere. But in any case, the files were actually there so when I was debugging the Kendo tools could find them where they expected them to be.

But when I built the RELEASE build for Production, the EditorTemplates and files were NOT included and so the Kendo tools could not find them when the published folder was pushed to the web server.

Thanks to those that read the Problem and pondered the answer - leaving this here may help somebody else sometime!!

1 Answer, 1 is accepted

Sort by
0
Walter
Top achievements
Rank 2
Iron
answered on 16 May 2024, 06:27 PM | edited on 16 May 2024, 06:28 PM

Looks like the EditorTemplates folder under the Views\Shared folder and its contents were not actually added to the Project/Solution when I was building the application. Not sure how that happened, could be because I am a newbie to Kendo and its tools, or perhaps a glitch somewhere. But in any case, the files were actually there so when I was debugging the Kendo tools could find them where they expected them to be.

But when I built the RELEASE build for Production, the EditorTemplates and files were NOT included and so the Kendo tools could not find them when the published folder was pushed to the web server.

Thanks to those that read the Problem and pondered the answer - leaving this here may help somebody else sometime!!

Tags
Date/Time Pickers Grid
Asked by
Walter
Top achievements
Rank 2
Iron
Answers by
Walter
Top achievements
Rank 2
Iron
Share this question
or