We have three options to view any .aspx page in a tab
Design
Source
Split
How can we view Design and Source in separate tabs for a any aspx page ?
Or if this is impossible!! can we use split option by Vertically splitting the Design and Source ? if later one is possible, I could stretch the view onto two monitors like here as suggested by Nick Craver.
Thanks
It's possible to get what you want, ScottGu made an excellent blog post describing how.
Short version:
Options -> HTML Designer -> General -> Check Split Views Vertically
There's an option in Visual Studio to choose how you want to orientate the split. Instructions and pictures here. Quick instruction:
To enable vertical split-view
orientation in VS 2008, select the
tools->options menu item and go to the
HTML Designer->General section. Then
check the "Split views vertically"
checkbox.
Updated for Visual Studios 2017:
Tools -> Options -> Web Forms Designer -> General -> Check Split Views Vertically
Related
I want to write an extension on dgml file. Code map of Solution in visual studio.
How do I plug-in my code on a context menu of links shown in the diagram
I'm uncertain if there are any extensibility points build into the dgml editor, but you can certainly add menu items to the "Architecture" drop down menu item with a VS extension built with the Visual Studio SDK.
You'll want to read up on developing Visual Studio extensions, so that you are familiar with how menu items (also referred to as commands) are added to the VS IDE. Also, there are two categories of windows you can display in Visual Studio. Tool Windows, and Document Winodws. You'll need to figure out which type fits your particular requirements. Generally speaking if your underlying data is stored in a file, you'll most likely want to implement a document window (also known as a custom editor or designer). For example, the window displayed after selecting "Generate Code Map for solution" is a custom designer for .DGML files.
Below are a few links to get you pointed in the right direction.
Visual Studio SDK
Create an extension with a menu command
Create an extension with a tool window
Walkthrough: Create a custom editor
VSSDK Extensibility Samples (github)
Sincerely,
I have searched the Tools > Options menu and I can not find how to display the vertical lines that line up elements in ASP.Net Web Forms for Visual Studio 2015.
I know this will be simple but does anyone know how to do this or if it is possible?
I think you are looking for Ruler and Grid, found under View.
You can configure the Grid under Tools > Options > Web Forms Designer > Ruler and Grid or by clicking the Configure option in the Rules and Grid menu.
I found it useful to enlarge the Spacing in the options to enlarge the grid.
(This is for Visual Studio 2017)
What I was after was actually this plugin.
https://marketplace.visualstudio.com/items?itemName=SteveDowerMSFT.IndentGuides
It adds indent guides.
I am new to Sitecore and have questions. I have installed Sitecore version 7.1 several times just for the fun of it, sweet. Now, I am attempting to follow a tutorial of “Building A Very Simple Website”
http://sdn.sitecore.net/upload/sdn5/developer/training%20materials/basic%20site/selfstudyguide-buildingaverysimplewebsite_usletter.pdf
This tutorial is targeted for Sitecore CMS 6.2, so I want to confirm if it’s still accurate.
The instructions for creating a Generic sublayout display file says I should be able to access the Grid Designer and insert a control while in the Content Editor. I am not seeing any option for this. The only way for me to access the Grid Designer, is by selecting /Development Tools/Development Center. And when I do this I can insert a control but it’s not saving any of my changes.
As anybody had this problem?
Is that tutorial still valid?
I had this same question. I'm running sitecore 7.1 but am following an outdated self study guide for sitecore 6.2. I was able to resolve doing the following.
From the Desktop interface, open the start menu
Open Development Center (Listed under Development Tools)
Select 'Create New Sublayout'
Once created the options you seek will be available
This is the start page for the Developer Center
This will open automatically when you finish the Sublayout creation wizard
The grid designer is still there. It relates to Sublayouts, so if you go to /sitecore/layout/Sublayouts and select one of the sublayout items, you should then see the grid designer tab:
Towards the top right of the screen you should see some tabs for dislaying layout and format options:
To be honest, you'll rarely (if ever) use the grid designer again after this tutorial, so don't worry to much.
I had same problem with Sitecore 8 and solved it creating Sub Layout,going though development center as shown above by #Tyshun. Else
Go direct to development Center using url http://{{Your Site Name}}/sitecore/shell/default.aspx?xmlcontrol=IDE.
You will get option to create SubLayout and then you will get grid view design option.
I've been looking hard to find a web page editor that can let me visually edit an already-designed asp.net web form page. for the whole period, I've made my page designs with Dreamweaver (now I'm using Dreamweaver CS4) and transfered my designs to Visual Studio 2010 to make asp.net pages from that template. Table editing feature for web forms in Visual Studio is really annoying and by trying to change a column width, the table structure is corrupted and VS decides to change everything on that table (compare it with Dreamweaver which only changes those two columns which their border is changed instead of the whole columns of that table).
Unfortunately Dreamweaver does not recognize the asp.net tags syntax and because of that it can not properly render them in design mode. I want to know if you know any tool (preferably non-Microsoft tool) that can let me open an asp.net web form in it and edit the page elements visually without side effects that Visual Studio causes to my page design. (I use HTML tables for arranging my page elements.)
By the way I looked at this link:
http://en.wikipedia.org/wiki/List_of_HTML_editors
but after opening all the visual editors web pages, I did not find any tool that supports ASP.net tags.
Is there a particular reason that though you are working on a Microsoft platform that you don't want to use a Microsoft editor?
MS provides two free tools that may help you:
Visual Studio Express
Web Matrix
Also, I highly recommend using CSS classes to set widths on ASP.NET generated tables/columns. (Rather than using the styling attributes for those ASP.NET controls.)
Hope this helps.
you can use AjaxControlToolkit.HTMLEditor.Editor.
Put the DLL in your project and than put in the page, than you can edit.
Create some logic to view and edit with some permission, and your page will have content editable.
I'm currently working at an internship and having no real background experience in programming, they give me a 24-hour book about asp.net 2.0 VB but I'm using Visual Studio 2010 instead of 2005. Plus, the book is using more of the Design view more than the source view. I'm at the Master Page chapter and it's telling me to use tables as site-wide templates. Here's the problem:
It's telling me to go to the layout menu (which doesn't exist or I can't find it). So I find a table menu instead, so I go into insert tables. The book says there should be a template drop down menu with a header, footer, and side. There isn't one and I can't find it anywhere else.
The question: Is it still available in 2010 or is there something else in its place that i should use?
Layout menu is no more there since VS2005
In Visual Studio 2010 on Design View (The bottom "Design" button should be enabled) go to the main upper menu and choose:
Tools - Options - CSS Styling and Check the option
"Change position to absolute for controls added using Toolbox,paste or drag and drop"
However I don't recommend this because in my experience is not browser compatible sometimes so you should permanently check how your page looks in different browsers as you go forward in your layout.
You can try to create your tables manually (with the menu you just found) instead and use their css properties to align the text/images inside each row and cell as you wish. This can help to walk you through the process:
http://social.msdn.microsoft.com/Forums/is/csharpgeneral/thread/7db5a810-e9e0-42eb-8ebc-a4c28036effc
http://forums.asp.net/t/1599099.aspx/1
http://technet.microsoft.com/en-us/subscriptions/downloads/dyxa0hhe.aspx
Hope this helps.