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 » ASP.NET   (RSS)
Tip #87: Did you know… How to reuse a web page by converting into an ASP.NET User Control?
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...
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 #75: Did you know…How to maintain scrollposition after post back?
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...
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#64:Did you know … How to convert a GridView column from asp:BoundField to asp:TemplateField in Design View?
Assume that you already have a data source SqlDataSource1 that binds to a simple query returning some details from the Customers table. <asp:SqlDataSource ID= "SqlDataSource1" runat= "server" ConnectionString= "<%$ ConnectionStrings:MyConnectionString 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#62: Did you know… How to add Ajax Control Toolkit to the toolbox?
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...
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...
More Posts Next page »
Page view tracker