Visual Studio Expand/Collapse Button Missing In Aspx File - asp.net

As you can see on the image below my aspx files does not have collapse/expand buttons ("-" and "+") How can I enable them again? thanks in advance. Running VS2010.

Follow this menu command:
Edit > Outlining > Start Automatic Outlining

There's a bunch of information here.
Note the section on the Outlining submenu in the Edit menu.

For those who want to get in first view and do not want to visit above link.

CTRL + S
(to save document)
CTRL + K + D
(to reformat document)

Re-enabling outlining isn't working to resolve my issue. The (-/+) is only missing from spanning comments (/.../). Yet my Hide/Show Comments add-on is still recognizing the comments when I hide all with that.

Related

Tags are not saving in umbraco using blog4umbraco

I m using blog4umbraco version 4.5 every thing is working fine but i am not to able save the tags for blog post there is not any error but tags are not saving, please give me any solution regarding this problem.
Do the tags show up in a list below the textbox ever? You may have to press tab or comma to get the tag to take initially, then press save.

Turning off auto-styling for Web Form designer in VS2012

Whenever you are in design mode in VS2012 for editing a Web Form, if you click on anything, and accidentally drag and drop, a CSS auto-style will appear at the top of the HTML for the aspx page.
From some preliminary research, I checked the following:
Tools>Options>HTML Designer>CSS Styling>Style Application Mode, but it was already set to manual. Is there somewhere else I should be looking to disable this functionality?
Right now there is no way to turn off this. We have received this feedback through connect link. Please add vote to this connect bug. And we will consider this in future release of VS.
I also found this, and I have assoicated it rightly or wrongly, with large pages getting totally corrupted (table cell contents being apparrently randomly swapped).
I managed to turn autostyle off by going to Tools>Options>HTML Designer>CSS and selecting 'CSS (inline styles)' for each of the items there.
Autostyling has stopped and (fingers crossed) my latest pages have retained their integrity.
Tools > Options > Web Forms Designer > CSS change all CSS(classes ) to CSS(inline styles)

Aptana Studio 3.0.7 - CSS autocomplete only from the 2. line

i get CSS autocomplete only from the second line. There's no autocomplete at the first line?
And sometimes i get absolutely no autocomplete...
What am i doing wrong?
Thanks for reading that!
I guess they changed some settings, because it used to work instantly in previous Aptana versions. Here is what helped me with this problem in Aptana 3:
Window > Preferences > Aptana Studio > Content Assist > Auto-Display content assist
Change this drop-down from Default delay to Instant. Press Apply and Ok.
Please don't mind if you've already tried this and seems trivial. It wasn't for me!
Having moved from Dreamweaver where autocomplete comes on its own, I struggled with Aptana autocomplete at first. Sometimes in Aptana 3.0.7, it doesn't show up on its own and we need to hit Ctrl + Enter (on Windows)!
Also try Ctrl + Enter after typing at leaset 1- 3 Chars. This can be changed in Settings.
Hope this helps...

Disable Code Assist in Aptana Studio 3

Is there any way to disable code assist in Aptana Studio 3? It is driving me absolutely insane! It changes things I don't want changed, it just overall gets in the way of my workflow. It was never a problem until the most recent update and ever since that update it's been much more aggressive in it's "assisting." I just want to be able to write the code myself without it messing me up.
To Caldwell,
The thing that you have mention is called Content Asisst. It will show a code-assist when you typing a code related to HTML/CSS.
To disable Content Assist in Aptana Studio 3 is :
Choose Window in the main menu ( menu avaiable on top) → Preferences → Choose Aptana Studio → Content Assist → Look at the Auto-display content asisst then you will see the drop down menu at besides, then click drop-down menu choose Off instead of Default delay.
That's all. Thank you
The issue you are referring to is most likely resolved in the beta of 3.0.4, but if you need to turn code assist off, I would suggest:
a) Preferences > Aptana > Editors (main node)
b) Preferences > Aptana > Editors > JavaScript (for example) and check the activation triggers. You may wish to remove "(" and "." for example.
Found this article trying to turn off the auto-complete of quotes and html tags. This feature is called auto-close. It can be turned off in Windows by going to Window -> Preferences -> Aptana Studio -> Editors. Here there is a "Typing" section of options. Unchecking "Auto-close matching character pairs" and "Wrap selected text with matching characters" did the trick for me.

How to use jQuery to show a different page in ASP.NET

I am trying to set up functionality similar to Netflix. Where if you mouseover a movie - you are presented with a window of movie details (all client-side).
At high level, can someone in this forum help by telling me how this should be implemented? I.E., one or more .aspx pages, what would go in code-behind, and .js file, css, etc. Just trying to get an idea on how this would be set up to work.
Basically, when I hover over an item, I need to query for details that belongs for that record being moused-over and display it in the window or div. I also need to have some functionality in that window (i.e. a textbox and button which will end up needing to get saved in a database).
Thanks for any tips and suggestions -
You would want to add an AJAX call to the hover event of the image, that pulls from a webservice/web method.
Here is a good example, you would change some things. However, it should get you started.
http://www.mikesdotnetting.com/Article/96/Handling-JSON-Arrays-returned-from-ASP.NET-Web-Services-with-jQuery
If I understood your question correctly, you should try this excelent jQuery plugin:
http://www.sohtanaka.com/web-design/css-on-hover-image-captions/
Look at the demo here:
http://www.sohtanaka.com/web-design/examples/image-hover/
easy to install and configure and very slick!
Good luck
EDIT: sorry wrong lik the first time
There are certainly many jQuery plugins that will do this for you. jQuery UI may also be of benefit.
Here is one that appears to do something like you are describing:
http://plugins.jquery.com/project/VisualLightbox

Resources