Home
Username:
Password:
Microsoft Visual Studio .NET Tutorials

System Requirements and Installation / HTML and the Browser View

Subtitles of the Movie

Let's go into the HTML and see what's been done there. Aha!, we have an ASP label, that's a type of control it is, it has an ID or name, label one. We're not going to access this label programmatically just yet, there's really no point in us changing the names to something a little easier to remember. But in many of our later applications and projects and so forth, we will rename the controls, make it easier to access them programmatically. These style fields, set up the location of this control on the screen, when it's displayed in the browser. The code will be run at the server, the width and height of the control, is set here in the HTML, name of the font, the size, color, border color, border width, and so on, and here's the actual content of this particular control. It's text content that we set in the text property. Okay, let's go back to design view and let's say that we want to see this in the browser. We would go up to file, and build and browse, that's going to build this as an application, and then bring up a browser window, so we can see what it would look like in the browser, takes a second to compile the first time around. Once it's compiled the first time, it doesn't have to be recompiled as long as there's no changes, and by the way, you can make changes to a running application, just by making changes to one of these files, it will recompile immediately and your changes will show up immediately and this is what the page would look like in the browser, My First Web App. You can also navigate directly to this page by opening up your browser and if you happen to be working on a server, with this particular server name, you go directly to that page, and it'll display in exactly the same way. Now let's go back to Visual Studio .NET, and let's see if we can make our application actually do something. We're going to go ahead and close out the browser window, and now we're looking at the form, with this one control on it.

Tutorial Information

Course: Microsoft Visual Studio .NET
Author: Dave Mercer
SKU: 33420
ISBN: 1932072276
Release Date: 2003-04-01
Duration: 7 hrs / 101 lessons
Work Files: Yes
Captions: For Online University members only
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available