Browse by Tags
All Tags »
tips and tricks »
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...
If you want to reuse a web form's content in other places in your application, you can easily convert the page into an ASP.NET User Control. Then you can add that user control to any other page. For example, you have a page in your application that looks
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...
When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page. MaintainScrollPositionOnPostBack
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...
Steps to add Ajax Control Toolkit for Framework 3.5 SP1 Steps to add Ajax Control Toolkit for Framework 2.0 Ajax Control Toolkit for Framework 3.5 SP1 Following are the steps to add Ajax Control Toolkit to the toolbox for ASP.NET 3.5 webs in Visual Studio
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...
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...
ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. By default for a Dynamic data Web Application
Read More...