Deployement not Rendering KendoUI - asp.net-mvc-4

VS2012 asp.net MVC4 c#, Internet Application with KendoUI Implementation.
The easiest way to say it is that My website looks like this
localy on the Development machine:
And like this deployed:
I have checked sever KendoUI forums, all of them pointing to Images missing... I checked and even copied over my deployment files, Files and Images are there, KendoUI Scripts are there.
Any ideas what I could be missing?

This means that for some reason the Kendo JavaScript or CSS files are missing on your deployment server. You can verify this by checking your browser's developer console (the "Network" tab) for any failing HTTP requests (404 status code). In a word make sure the Kendo JS and CSS files are being deployed successfully.

You need to add kendo scripts directly in the header of your layout.
<head>
<script src="~/Scripts/kendo/jquery.min.js"></script>
<script src="~/Scripts/kendo/kendo.web.min.js"></script>
</head>

Related

Typo3 Page content not visbile in frontend

I have created an extension and added to a page when I executed page got a blank page. Then I inspected through view-source of browser the contents are there. but not visible.
The view was visible on Typo3 v7 local, but not on the server.
I'm using the Typo3 v7 and Typo3 v8.
Extension has been installed in both server versions, but not displaying.
I have included the extension into the template.
I have Checked the Debug functionality through the controller
that also didn't display on front-end, But is visible as source code
Should anything to be done more? Any idea?
Thank you
That does not sound like a problem of TYPO3 than a problem with CSS.
If the HTML markup is available at the browser but not visible the browser has decided not to show it. And that probably is CSS. Use the browser debugger (firebug, inspector, ...) to identify which CSS hides the content.
Also Javascript might interact as it could change visibility after page submit. (try to load the page with deactivated javascript)
In the end it could be an additional or missing div tag or css class that is responsible and you could configure TYPO3 to change the HTML markup in the way so that your content is not hidden.
If you have one server where the content is visible and one where it is not shown you may do a diff on a page to find the difference between these servers. The HTML could be the same if CSS and/or Javascript is different.
I would save the same page from both servers localy (with all CSS and JS) and do a tree diff with a tool like kdiff3

IBM MobileFirst - App Multipage

Good morning,
I am installing a APP with IBM MobileFirst Platform and seen in the documentation, by making an APP multi page, you should avoid the attributes href and document.location.href of javascript. I have verified that the system used is that of a single page and upload the content in div with jquery load () function.
Is strictly necessary this requirement or I can continue using href and document.location.href? I say this, because in my APP, the header and footer, change in each html page and I do not want to reload the html page with many divs, shown and hidden.
What you recommend to resolve this issue? How I can connect different html pages in MobileFirst, without using href or document.location.href?
Thank you.
Best Regards,
The reason why it is recommended to load the page contents via ajax is because MobileFirst libraries are loaded in the main html file. Loading other html files would require you to include all the MobileFirst libraries "including cordova" in every single html file of your application. Doing that will decrease the performance of your application since you will have to load all the library files for each page. It may also cause some conflicts with the objects loaded into the DOM since they may be loaded already.

Asynchronous KendoUI Upload in IE 10 windows authentication

I have a Kendo File Upload control on a page that uploads some files to the server.
The control is working fine on Chrome or Firefox, but on IE 10 there is a weird bug. It works if I upload files continuously, but if I leave the window inactive for like 1-2 min, the browser gets into a pending state.
Looking with Fiddler at what is actually happening, I can observe a 401 response received. There seems to be an issue with the Kendo control (or the specific environment I have) that has some sort of timeout and cannot authenticate the user, therefore we see that 401 response.
Environment specifics:
MVC 4
Kendo UI Upload Control
Windows Authentication
browser: IE10
Do you have a suggestion regarding this issue ?
Kindly appreciated.
I am having the same problem. The problem seems to affect only IE10 and IE11.
After some investigation and guesswork, I found a workaround that works for me.
Add this into the <head>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
I must warn that this may introduce other incompatibilities so please test everything else thoroughly.

Java script not running on webbrowser in WP8 HTML app

I am developing the WP HTML5 app. I've set of HTMLs, js and css created for it.
The IsScriptEnabled flag is set to true, before I Navigate to the HTML page added as project asset.
The js is not getting executed from the index.html page, I am navigating to. When trued, the same js execution is happening properly on iOS and Android.
What can be the possible reasons for the same.
Anything that has to be done (apart from enabling script) before navigating to the page? Please help!
The IsScriptEnabled flag does not enable/disable JS, but it enables JS to call out to the app and vice versa.
So, I assume you have some JS in the OnLoad of the page you are navigating to. If you replace your code with a simple document.writeLine("test"), does that work? If it does work I'd assume that IE's JS engine is (once again) not compliant.
You could also listen to window.onError

Web Page Development with IntelliJ - Auto Preview?

If I want to develop a web page in IntelliJ, is there a web to automatically preview the results in a browser, for example, so I don't always have to manually force a browser refresh?
<html>
<body>
hello world.
I'd like to see the browser refresh...
as I type
</body>
</html>
Use the Web Facet
Please note usually it's a bit annoying, as it's refreshing everytime you type or pause (this is what you want, but that means some delays will occur if your page is complex)
More details here:
http://www.jetbrains.com/idea/webhelp/enabling-web-application-support.html