Welcome to MSDN Blogs Sign in | Join | Help

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use

Browse by Tags

All Tags » Visual Studio 2... » ASP.NET   (RSS)
Tip#100: Did you know… How to view ASP.NET trace information?
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...
Tip #80: Did you know… How to show JScript validation errors as warnings?
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...
Tip #79: Did you know… How to quickly comment and uncomment in your web pages?
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...
Tip# 78: Did you know… How to navigate using Document Outline?
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...
Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages?
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...
Tip #76: Did you know… How to hide a non-visual control in your designer?
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...
Tip#65: Did you know...How to quickly create a GridView that is hooked up to a SQL table?
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...
Tip#63: Did you know…How to specify a fixed port for Visual Studio Development Server while using WAPs?
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...
Tip#57: Did you know… How to manage web site configuration through a web interface
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...
Tip # 53: Did you know... How to edit the templates for gridview in VS designer?
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...
Tip # 52: Did you know... When deploying your ASP.NET web application, debug=false should be set in web.config
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...
Tip #50: Did you know…How to absolute position the controls in Visual Studio Designer?
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...
Tip #40: Did you know…How to scope master pages?
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...
Tip #35: Did you know…How to add Intellisense from script libraries for JS files?
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...
Tip #33: Did you know… How to create Nested Master Pages using VS 2008?
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...
More Posts Next page »
Page view tracker