Web Pages (How Do I in Visual Web Developer)
This page links to help on widely used tasks for creating and programming ASP.NET Web pages using Visual Web Developer. To view other categories of popular tasks covered in Help, see How Do I in Visual Web Developer.
Walkthroughs
Walkthrough: Creating a Basic Web Page in Visual Web Developer
Provides a tutorial on creating and editing an ASP.NET Web page in Visual Web Developer, including an overview of the Web development environment.Walkthrough: Creating a Basic Web Page with Code Separation in Visual Web Developer
Provides a tutorial on how to work with ASP.NET code-behind pages in the Visual Web Developer designer.Walkthrough: Basic HTML Editing in Visual Web Developer
Provides a tutorial on working with markup (HTML) in the Visual Web Developer designer.Walkthrough: Advanced HTML Editing in Visual Web Developer
Provides a tutorial on additional HTML editing features in the Visual Web Developer designer.Walkthrough: Editing HTML Tables in Visual Web Developer
Provides a tutorial on adding and editing HTML tables in the Visual Web Developer designer.Walkthrough: Creating and Modifying a CSS File
Provides a tutorial on features in the Visual Web Developer designer that help you create styles and cascading style sheets.Walkthrough: Working with an Existing CSS File
Provides a tutorial on features in the Visual Web Developer designer that help you work with existing cascading style sheets.Walkthrough: Code Editing in Web Pages in Visual Web Developer
Provides a tutorial on features of the code editor in the Visual Web Developer designer that help you create code quickly and accurately.Walkthrough: Debugging Web Pages in Visual Web Developer
Provides a tutorial on using the integrated debugger in the Visual Web Developer designer to find errors in your code.Walkthrough: Displaying a Menu on Web Pages
Provides a tutorial on creating Web page menus.Walkthrough: Customizing a Web Site Using Themes in Visual Studio
Provides a tutorial on creating a consistent look for pages in your Web site.Walkthrough: Creating and Using ASP.NET Master Pages in Visual Web Developer
Provides a tutorial on creating a consistent layout for pages in your Web site.Walkthrough: Creating a Web Parts Page
Provides a tutorial on creating ASP.NET Web pages that users can customize in a browser.Walkthrough: Using Shared Code in Web Sites in Visual Web Developer
Provides a tutorial on creating and using components in an ASP.NET Web site without having to compile them.Walkthrough: Creating Web Pages for Mobile Devices
Provides a tutorial on creating an ASP.NET Web page that uses controls designed especially for mobile devices.Walkthrough: Validating User Input in a Web Forms Page
Provides a tutorial on checking user input in an ASP.NET Web page.Walkthrough: Using Resources for Localization with ASP.NET
Provides a tutorial on creating Web pages that can display information in different languages.Walkthrough: Creating an Accessible Web Application
Provides a tutorial on creating an ASP.NET Web page that can be accessed by people with disabilities, including how to test accessibility.Walkthrough: Using Output Caching to Enhance Web Site Performance
Provides a tutorial on storing pages in memory for faster performance.Walkthrough: Using ASP.NET Output Caching with SQL Server
Provides a tutorial on caching pages that are removed from the cache only when their dependent data in SQL Server changes.
Creating and Editing Web Pages
How to: Add ASP.NET Web Pages to a Web Site
Provides steps for creating ASP.NET Web pages using Visual Web Developer.How to: Test Web Pages in Visual Web Developer
Provides steps for testing Web pages while working in the Visual Web Developer designer.How to: Add Cascading Style Sheet Attributes in Design View
Provides steps for editing styles and cascading style sheets in the Visual Web Developer designer.How to: Precompile ASP.NET Web Sites
Provides steps for compiling an entire Web site to check pages for errors or for deployment to a production server.How to: Redirect Users to Another Page
Provides steps for programmatically navigating to another Web page.
Layout and Appearance
ASP.NET Master Pages Overview
Provides information on using master pages to create a consistent layout in your Web site.How to: Create Content Pages for an ASP.NET Master Page
Provides steps for how to create content to merge with a master page using the Visual Web Developer designer.How to: Reference ASP.NET Master Page Content
Provides steps for how to programmatically read information from a master page.How to: Add Cascading Style Sheet Attributes in Design View
Provides steps for how to create style rules for individual elements in a Web page using the Visual Web Developer designer.How to: Define ASP.NET Page Themes
Provides steps for how to create a collection of control properties and styles that you can apply as a unit to pages or Web sites.How to: Apply ASP.NET Themes
Provides steps for how to apply an existing theme to pages or to a Web site.How to: Apply ASP.NET Themes Programmatically
Provides steps for how to apply a theme in code.How to: Disable ASP.NET Themes
Provides steps for how to prevent a theme from being applied to an individual page or to a Web site.
Programming ASP.NET Web Pages
How to: Create Event Handlers in ASP.NET Web Pages
Provides steps for how to write code that responds to events in the page and in controls, using the Visual Web Developer designer.How to: Connect Multiple Events to a Single Event Handler in ASP.NET Web Pages
Provides steps for how to write code that can respond to events from different controls, using the Visual Web Developer designer.How to: Post ASP.NET Web Pages to a Different Page
Provides steps for how to create linked pages by posting one page to another.How to: Detect Browser Types in ASP.NET Web Pages
Provides steps for how to read browser information to determine browser capabilities programmatically in an ASP.NET Web page.How to: Call a Web Service
Provides steps for how to programmatically invoke methods in an XML Web service.
Web Parts
ASP.NET Web Parts Overview
Provides information on Web Parts, which enable you to create pages that users can customize in their browsers.Web Parts Control Set Overview
Provides information on different pieces you can use to create customizable ASP.NET Web pages.Walkthrough: Creating a Web Parts Page
Provides a tutorial on using Web Parts controls to create ASP.NET Web pages that users can customize in a browser.Web Parts Personalization Overview
Provides information on tracking customizations for individual users.Walkthrough: Implementing Web Parts Personalization with a User Control
Provides a tutorial on how to create an ASP.NET user control (rather than a custom control) to track user-specific information.Walkthrough: Changing Display Modes on a Web Parts Page
Provides a tutorial on how to create a page where users can switch between display and edit modes to customize the page.How to: Treat a User Control as a Web Parts Control
Provides steps for how to create an ASP.NET user control (rather than a custom control) to track user-specific information.How to: Declare a Static Connection between Two Web Parts Controls
Provides steps for creating a static link between Web Parts controls declaratively.How to: Enable Shared Personalization of Web Parts Pages
Provides steps for configuring Web Parts personalization so that user information is available to other users.
State Management
How to: Write a Cookie
Provides steps for creating a cookie, which stores small amounts of data on the user's browser.How to: Read a Cookie
Provides steps for programmatically reading a cookie stored earlier.How to: Delete a Cookie
Provides steps for removing cookies from a user's computer.How to: Pass Values Between ASP.NET Web Pages
Provides steps for storing values in one page that can be accessed in another page.How to: Save Values in Application State
Provides steps for storing information in a global storage area that is available to all pages and components in a Web site.How to: Read Values from Application State
Provides steps for reading global values.How to: Save Values in Session State
Provides steps for storing user-specific information that is available as long as a user is working with pages in your Web site.ASP.NET View State Overview
Provides steps for reading and writing user-specific information that is available as long as a user is working with pages in your Web site.How to: Read Values from View State
Provides steps for reading information stored earlier in a page.
Client Script
How to: Add Client Script Events to ASP.NET Web Server Controls
Provides steps for writing client script in ASP.NET Web pages that responds to user actions such as mouse clicks.How to: Create Scripts and Edit Event Handlers
Provides steps for writing client script while working in Source view of the Visual Web Developer designer.How to: Respond to Button Web Server Control Events in Client Script
Provides steps for adding client-script event handling to ASP.NET button controls, even if the buttons also have server-side event handlers.How to: Add Client Script Dynamically to ASP.NET Web Pages
Provides steps for programmatically calling ASP.NET methods that inject client script into a page.
Performance
How to: Set the Cacheability of an ASP.NET Page Declaratively
Provides steps for setting a page's cache policy in markup.How to: Set a Page's Cacheability Programmatically
Provides steps for setting a page's cache policy in code.How to: Set Expiration Values for ASP.NET Page Caching
Provides steps for specifying when a page should be removed from the cache.How to: Check the Validity of a Cached Page
Provides steps for determining whether a cached page has been invalidated.How to: Cache Page Output with File Dependencies
Provides steps for caching different versions of a page based on changes to a file.How to: Cache Page Output with Cache Key Dependencies
Provides steps for caching different versions of a page based on other information in the cache.How to: Cache Versions of a Page Using Requesting Browser
Provides steps for caching different versions of a page based on information about the user's browser type.How to: Cache Versions of a Page Using Parameters
Provides steps for caching different versions of a page based on information sent from the browser, such as query string or post values.How to: Cache Versions of a Page Using HTTP Headers
Provides steps for caching different versions of a page based on information sent in the browser headers, such as the Accept-Language value.How to: Cache Versions of a Page Using Custom Strings
Provides steps for caching different versions of a page based on a criterion that you create.How to: Cache Multiple Versions of a User Control Based on Parameters
Provides steps for caching a portion of a page as a user control.How to: Cache Multiple Versions of a User Control by Using Declarative Attributes
Provides steps for caching different portions of a page separately using the same user control.Dynamically Updating Portions of a Cached Page
Provides information on caching some parts of a page while being able to update other parts of the page.How to: Add Items to the Cache
Provides steps for storing information in the ASP.NET cache for quick retrieval.How to: Retrieve Values of Cached Items
Provides steps for reading information stored previously in the cache.How to: Delete Items from the Cache in ASP.NET
Provides steps for removing information you previously put in the cache.How to: Notify an Application When an Item Is Removed from the Cache
Provides steps for raising an event when information is removed from the cache.Caching in ASP.NET with the SqlCacheDependency Class
Provides information on caching pages that are removed from the cache only when their dependent data in SQL Server changes.
Localization
How to: Create Resource Files for ASP.NET Web Sites
Provides steps for how to create resource (.resx) files that store text in different languages and for different cultures that can be displayed in an ASP.NET Web page.How to: Use Resources to Set Property Values in Web Server Controls
Provides steps for how to configure controls to read property values from .resx files to dynamically display pages in different languages.How to: Localize Site-Map Data
Provides steps for how to create site maps that present information in different languages.How to: Retrieve Resource Values Programmatically
Provides steps for programmatically reading values from a language-specific and culture-specific .resx file.
Accessibility
Accessibility Support in ASP.NET
Provides information on features of ASP.NET that help you create Web sites that conform to accessibility standards.How to: Check Accessibility of Web Pages in Visual Web Developer
Provides steps for validating in the Visual Web Developer designer that an ASP.NET Web page meets accessibility guidelines. (This feature is not available in Visual Web Developer Express Edition.)
Devices and Browsers
- Walkthrough: Creating Web Pages for Mobile Devices
Provides a tutorial on creating an ASP.NET Web page that uses controls designed especially for mobile devices.