Working in Source and Split Views to Build a One-Page Web Application - How to use Split view to work with the design
(Page 3 of 4 )
In addition to Design view and Source view, Visual Studio 2008 introduces Split view. Figure 2-11 shows how the Future Value form appears in Split view. When you use this view, you can see the aspx code for the form and the visual representation of that code at the same time. This is particularly helpful when you need to make minor adjustments to the appearance of a form. Then, you can check that the changes you make in Source view look the way you want them to without having to switch to Design view.
Note that when you make a change in Source view, the change isn’t automatically reflected in Design view. Instead, a bar is displayed at the top of the Design view window that indicates that the two views are out of sync. In this figure, this bar was displayed when I changed the text in the first cell of the table. To synchronize the two views, you can click on this bar or anywhere in the Design view window. In contrast, if you make a change in Design view, it’s reflected immediately in Source view.
The design of the Future Value form in Split view

Description
With Visual Studio 2008, you can also use Split view to work with the design of a form.
When you work in Split view, the top half of the designer window displays the form in Source view, and the bottom half of the window displays the form in Design view. This can make it easier to work with these two views.
If you make a change in Design view, it’s reflected immediately in Source view. If you make a change in Source view, however, a bar is displayed at the top of the Design view window that indicates that Design view is out of sync with Source view. Then, you can click this bar or anywhere in the Design view window to synchronize the views.
--------------------------------------------Figure 2-11 How to use Split view to work with the design of a form
Next: The aspx code for the Future Value form >>
More ASP.NET Articles
More By Murach Publishing
|
This article is an excerpt from chapter two of Murach's ASP.NET 3.5 Web Programming with VB 2008, written by Anne Boehm (Murach, 2008; ISBN: 1890774472). Check it out today at your favorite bookstore. Buy this book now.
|
|