Couldn't find answer to this question, and as this happened 2nd time, decided that it would be wise to write this here.
Problem: While debugging ASP.NET website, some CSS is rendering wrong. Or not rendering at all.
Edit: It seems, that the same problem also somehow caused following problem - in debug GridTelerik.SelectedItems was shown as null, when it really should contain values.
Reason: Browser Link, that by default is enabled (Description what it is)
Solution: Just disable it:
Related
I am working with an ASP.Net WebForms project that is using an UpdatePanel and in IE it is extremely slow to load the page, however in Chrome and FireFox this is not an issue at all.
I have seen and tried the answer here ASP.NET website very slow Internet Explorer 10
I have also tried the suggested answer here too https://www.devexpress.com/Support/Center/Question/Details/T268620
I also have the update condition set to conditional too as suggested here Update Panel working very slow
I should also note that I have a repeater on the page too.
When looking at what is sent and recevied using Fiddler I am getting this result
Bytes Sent: 1,888 (headers:1,331; body:557)
Bytes Received: 5,280 (headers:148; body:5,132)
When navigating to the page, the data is loaded and appears immediately, but the page is not responsive which is the actual issue.
I would apprecaite all help in order to resolve this issue and speed up the performance in IE to mach (as close as possible) that of Chrome and FF.
Edit -
Although this question has been asked, its been asked for different versions of VS.
I have resolved this now and have displayed the answer below
I found the answer, and did consider deleting the question, however the problem has now almost gone give or take its still a 2 second load, rather than a 15.62 on average.
In Visual Studio the system has a function that needs turning off and whoever stumbles across this question with the same issue this will hopefully fix it for you too.
http://www.poconosystems.com/software-development/how-to-disable-browser-link-in-visual-studio-2013/
Its a combination of the DevExpress link and the turning off the option in Visual Studio.
Everything worked normally untill yesterday. Today morning when I tried to debug java script function (in aspx), it is not hitting the debug points...
I thought debug thing is not working ..so to test I added debug points in code behind file..it is firing them..the only problem is with aspx page..
I tried the following:
Clean solution Re-Build..
close and re open visual studio..
Restart my machine..
iisreset
I am confused what might be the reason..Can anybody please help me out?
I had the same problem recently and this checklist helped me solve my issue:
Some ideas.
Make sure it's a debug build and not release
Turn off optimizations in your project properties if they are on
Try inserting Debugger.Break() in your code instead of a breakpoint in VS
Make sure breakpoints are enabled (Debug->Windows->Breakpoints toolbar), and breakpoint symbol should be solid red circle, not a red outline of a circle
Execute your application. Load Debug->Window->Modules window. Check your assembly to see if symbols are loaded. It may give a relevant status message if not.
Have you been adjusting the date on your computer at all? This can really screw up a build process. If so, delete all your obj/bin folders manually and recompile.
This was copied from the an answer found in this post:
VS2012 Breakpoints are not getting hit
There are many other helpful suggestions there as well, im sure one of them should work!
In your aspx, find the tag <script runat="server">.....abx xyz... </script> then delete the content of this tag.
When:
Live Preview is running
I'm writing CSS
& I hit Enter to use an auto-completion recommendation
Then:
The auto-completion occurs
The cursor skips down a line & indents
I usually work around this annoying cursor movement by closing Live Preview, but I'd really rather not. Is this a bug or am I missing something? How can I fix it to where it just simply fills in the auto-completion recommendation?
Thanks!
Brackets 0.41
Windows 7
Brackets doesn't normally behave this way - you may have an extension installed that's causing trouble. Try using Debug > Reload Without Extensions and see if the problem still happens. If that fixes it, you can systematically disable individual extensions until you find which one was causing the problem. I believe the "Emmet" extension has caused some similar issues in the past, so that might be a good one to check first.
Once you know which extension causes the problem, I can walk you though filing a bug with the extension's author so it can be fixed.
If you're seeing the issue even after Debug > Reload Without Extensions, then it would be good to get more specific with the steps that trigger the problem. For example:
Open the default "Getting Started" project and open its main.css file
Start Live Preview
Add a new line to the end of the body rule
Type font-w and press Enter
type b and press Enter
When I do these steps, no extra newline is inserted. What steps should I use instead to see the problem?
I found this as I was experiencing the exact same issue. Try disabling any scripts called in your html one by one to see if it goes away. My issue was a script I was loading from a Wu
I was having this issue for several days. I finally figured out a fix for ASP.NET programmers, and I figured I would share.
Problem
After setting a breakpoint, and then debugging my breakpoint would turn yellow with an exclamation point. When hovering over the breakpoint it would say "The breakpoint will not currently be hit. No symbols have been loaded for this document.”. I tried cleaning, rebuilding, changing various settings through my project and visual studio. Nothing worked.
Solution
I was digging around in the Solution settings. I noticed that under "Web" tab my Start Action setting was set to something other than "Current Page". After setting it back to current page everything worked out.
I hope this solves the issue for other's like me that were exhausted after trying every other suggestion/answer they could find on the internet.
The issue only happens to me on ASP.Net Projects
Right Click the Web Project
Select Property Pages
Start Options
Make sure Use current page is selected (as shown below)
This happens because your project still has errors, so run the last correct version.
Correct your mistakes, surely it is the error "CodeBehind" change it to "CodeFile" and surely the errors disappear, you can return project run without errors.
Over the last few days this issue has been popping up and it's really beginning to annoy me as I spend more time correcting it than actually coding.
periodically when I am working with my JavaScript (jQuery) when I type $ for say:
$('#something').html when I type $ the content assist box comes up, which is fine but when I press ( I get the following output:
$$()
instead of how it should look:
$()
Any idea's how to fix this without disabling content assist for JavaScript? Thanks.
As stated in a comment I have fixed this issue in 3.0.4 and before. Aptana Studio has bindings for auto-inserting the proposed code. To fix it, go to Windows -> preferences -> Aptana Studio -> Editors -> Javascript and delete the insert proposed which is by default: .( and that will fix your issue.
As Ingo Muschenetz states, 3.0.5 is supposed to have fixed this issue, but I have yet to actually try out that version to ensure that it does.
This is actually a known bug and fixed in the update to 3.0.5: http://preview.appcelerator.com