Browse by Tags
All Tags »
Visual Studio 2... »
ASP.NET (RSS)
You can enable ASP.NET tracing either at an Application level or at a page level; see Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages? for more information. With the tracing enabled, you can view the trace output in a trace
Read More...
With Visual Studio 2008 RTM, JScript validation setting is an option on the HTML validation page on the Options dialog. Since Visual Studio 2008 SP1 and later, we added a new option page JScript on the Options dialog, see the blog "Introducing JScript
Read More...
Select the lines you want to be commented in your ASPX, HTML, web config file etc and click on the Comment/ Uncomment icon in Toolbar. The comment icon looks like this: The icon for uncomment looks like: Alternatively you can use Keyboard
Read More...
Document Outline window can be launched from the menu View -> Document Outline , or via short cut key Ctrl-Alt-T . The Document Outline window displays a nested, hierarchical tree of the elements and scripts on the page. It gives you a good overview
Read More...
Enabling tracing at page level gives you a bunch of information that can be useful while debugging your application.Tracing helps understand which control uses more view state, start/end of PreInit, start/end of Init, start/end of Render, etc. This
Read More...
Some times as you are building your web page, you may want to hide all the non-visual controls like Timer control so that the page looks close to how it would be rendered on your browser. Our Designer can toggle between displaying and not displaying Non-visual
Read More...
In Tip#64, we showed you how to convert a GridView's bound fields into template fields. In this tip, we will show you how to quickly create a GridView that is hooked up to a SQL table. Typically, if you want a GridView then you need to add it to the page,
Read More...
In Tip#21 we showed you how to set a fixed port for the Developer Web Server in Web Sites. Here is how you will be able to configure this for Web Application Projects. 1. Go to the properties page of WAP. Right Click on your Web Application and click
Read More...
The Web Site Administration Tool provides a web interface for you to manage different web site configuration settings. To launch the tool, for Web Application Project click Project-> ASP.Net Configuration & for Websites, click Website-> ASP.Net
Read More...
Gridview control has the flexibility to be configured how it's rendered using templates. Following steps show how the control's edit template can be changed in the Visual Studio Designer. I have a GridView hooked up to Sqldatasource using Northwind.products.
Read More...
To help troubleshoot problems, developers usually enables the debug mode in web.config file. This causes ASP.NET to produce extra information in the compiled assemblies such as debug symbols, metadata. However, performance will be suffered as it takes
Read More...
Absolute positioning control(s) in the designer can seem confusing at first until you learn the visual cues. You can do one of the following two possible actions by dragging the control in the designer. Re-parent the control Change the controls position.
Read More...
Master page is a template page that can be used to create a consistent layout for your application. First you create a master page to define the look & feel of the application and then you create the content pages that contains the content. You can
Read More...
Here is an example to add intellisense for JS files in VS 2008. So, you have two Javascript files Jscript1.js with the following code function validateForm() { } and Jscript2.js (wherein you want current JScript file to show intellisense including objects
Read More...
VS 2008 and VWD 2008 both support Nested Master Pages which means you can have a Base Master page which would cater to the whole site and then you can further customize these Base Master Pages. Here is how you do it: 1. Create a BaseMasterPage.master
Read More...