Solved

ASP.NET MVC site showing code blocks

Posted on 2016-09-11
3
65 Views
Last Modified: 2016-10-01
I am trying to help a dev team trouble shoot an issue they are experiencing on a new MVC site. The problem presents itself on screen refresh, most often on mobile devices but has also been seen on PCs and Macs. The issue is the html page shows code blocks on the page reload. Sometimes, when the page fully loads, the code blocks disappear but most of the time they stay until another page refresh clears them up. This issue is sporadic and is not one we have been able to recreate with any specific routine.

Here are some specifics:

MVC version is 5.2.3.0
IIS 8 on Windows server 2012 Standard R2
Browsers: Edge, IE, Chrome, Firefox and Safari - several versions of all browsers being used but all are current versions

Can anyone tell me what could be causing this or troubleshooting steps we can take to isolate the problem?
image.jpeg
0
Comment
Question by:gacto
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 500 total points
ID: 41793754
hi,
seems you are angular js.

To solve your problem:
You can use the ngCloak directive.

Reference:
https://docs.angularjs.org/api/ng/directive/ngCloak
1
 

Author Comment

by:gacto
ID: 41794637
yes we are using angular js.

i will have our team test with ngCloak and see if that solves the problem.
0
 

Author Closing Comment

by:gacto
ID: 41825099
Mrunal - this solved our problem. thanks again for the help.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now