Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > ASP.Net > Tips & Tricks


Search:
What's New - What's Hot
How to Create an ASP.NET Modal Popup Login  Version: 0.00     Price: $0.00  
Total Hits: 65  |  Today: 0Author: Yi Liu      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article, Yi demonstrates how to create a modal popup login page in ASP.NET. By using Login controls, AJAX Extensions, and the AJAX Control Toolkit, you can easily accomplish this task without much coding. The demo project is based on Visual Web Developer Express 2008 and the .NET Framework 3.5. It also assumes you have installed the AJAX Control Toolkit....

How to handle multiple queries simultaneously in Crystal reports connecting from Business object Universe.  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Umesh Bansal      Rating:  
Read Reviews | Write Review |  Your Rating: 

We have come across a situation where we have to generate the report from more then 2 queries using crystal reports. All queries are different -- 2 transaction tables with relevant joins from dimension tables. So to make the report we have to create 2 different connections from the universe and it eventually gave performance problems when dealing with a large sets of records. In this case, we have to link each query with the others on the basis of common dimensions. While fetching a report with ...

How to Create a Web Server Farm Cache  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: Dina Fleet Berry      Rating:  
Read Reviews | Write Review |  Your Rating: 

Dynamic database-driven web sites are required if your site has large quantities of data to upload, manage, and serve back to your customers. However, IT departments typically say this creates too big a load for the database -- hence many people keep the files on the hard drive along with their script pages. Not only does this not scale well when you expand from one web server to a web farm, it is hard to back-up, and the file system makes for a poor database -- lacking the transactional qualiti...

How can I deploy a single ASP.NET web page to a web site that is precompiled?  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: Reuben Frost      Rating:  
Read Reviews | Write Review |  Your Rating: 

Every now and then, you may find yourself in the situation where you need to deploy a single file on a precompiled web site. I know I certainly have.

Here are the steps that I would use to accomplish this:

1. Build and precompile your whole web site as usual;
2. Search in the "Bin" folder of the build output web site folder for the file you want to deploy with a .compiled file extension;...

How to compress ViewState In ASP.NET  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Suprotim Agarwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Http is a stateless protocol. Hence the ‘page-state-information’ is not saved between postbacks. In ASP.NET, viewstate is the means of storing the state of server side controls between postbacks. It contains a snapshot of the contents of a page. The information is stored in HTML hidden fields....

How to Approach a .NET Interview  Version: 0.00     Price: $0.00  
Total Hits: 47  |  Today: 0Author: Mike Gold      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you find yourself in a position where you need to find a new job, you have to deal with the incovenient but necessary interview process. This article will give you some of the tools you need to shine when interviewing for a technical programming position....

How to set focus to a MS ASP.NET TreeView on form load  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: SeaWater      Rating:  
Read Reviews | Write Review |  Your Rating: 

This control can be download for free from the Microsoft website. This page contains an overview of the free web controls (not supported by MS).

We will cover the focus issues for this control in this article. The reason I chose to create this article is that there was not much information after searching multiple sites. Basically this article will explain the two main problems: trying to get a TreeView control to have focus and setting the colors properly, for hover and selected items....

How To Add CheckBox And Image Button Columns In GridView  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: Bean Software      Rating:  
Read Reviews | Write Review |  Your Rating: 

The GridView is a powerful tool commonly used in web applications. It has features that allow to manipulate data in a lot of ways but sometimes we just need to extend that functionality to go from a GridView that looks like this:...

How to create Event Handlers in ASP.NET  Version: 0.00     Price: $0.00  
Total Hits: 18  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET provides an event based programming model that simplifies Web programming. Controls in ASP.NET have a default event you typically handle. All GUI applications are incomplete without enabling actions. Even though arranging components is a significant issue, applying actions is also equally important. These actions are instructs the program to act when something happens. This is called events in programming language....

How to: Implement and Raise Custom ASP.NET Health Monitoring Events  Version: 0.00     Price: $0.00  
Total Hits: 17  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The example in this section illustrates how to raise ASP.NET custom health monitoring events. When you add a custom event to your application, you must consider the following points:
* How to set the scope for the health monitoring event. If the event is intended to be raised in all applications on a server, you must configure the event to have machine-wide scope. A preferred way to do this, as shown in this example, is to create an HTTP module that raises the custom event. You then insta...

Viewing Trace Messages And Handling Asserts  Version: 0.00     Price: $0.00  
Total Hits: 14  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

To view trace messages and assertion failures from ATL Server DLLs running in IIS

1.

Select the Custom assert and trace handling support check box on the Developer Support Options tab when you generate your ATL Server request handler or ISAPI DLL using the ATL Server Project Wizard...

How to: Enable Tracing for an ASP.NET Application  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Instead of enabling tracing for individual pages, you can enable it for your entire application. In that case, every page in your application displays trace information. Application tracing is useful when you are developing an application because you can easily enable it and disable it without editing individual pages. When your application is complete, you can turn off tracing for all pages at once....

How to: Implement the Health Monitoring Custom Provider Example  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The example in the topic Custom ASP.NET Health Monitoring Provider Example illustrates how to create a custom provider that processes ASP.NET health events. The code example shows how to derive from the BufferedWebEventProvider class to create a custom provider that writes the event information to a local file....

How to: Enable Tracing for an ASP.NET Page  Version: 0.00     Price: $0.00  
Total Hits: 11  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can control whether tracing is enabled or disabled for individual pages. If tracing is enabled, when the page is requested, ASP.NET appends to the page a series of tables containing execution details about the page request. Tracing is disabled by default....

How to: Load XML Data in the XML Web Server Control     
Total Hits: 7  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are three ways to load XML data into the Xml Web server control:

* Provide a path to an external XML document, using the DocumentSource property.
* Load an XML document as an XmlDocument object and pass it to the control, using the Load method event and assigning the document to the Document property of the Xml control.
*Include the XML content inline, between the opening and closing tags of the control....

How to handle Drop-Down event in Repeater control  Version: 0.00     Price: $0.00  
Total Hits: 31  |  Today: 0Author: Prasham Sabadra      Rating:  
Read Reviews | Write Review |  Your Rating: 

In my project I have to handle the event of drop-down control in repeater control and also want the current item index. I get how to handle the event but I need to burn my midnight's oil to get the current item index and finally I got the solution using NamingContainer property....

How to: Read a Cookie  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Cookies provide a means in Web applications to store user-specific information, such as history or user preferences. A cookie is a small bit of text that accompanies requests and responses as they go between the Web server and client. The cookie contains information that the Web application can read whenever the user visits the site....

How to: Create ASP.NET Application-Level Event Handlers  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET automatically binds application events to event-handler methods in the Global.asax file using a naming convention of Application_event, such as Application_BeginRequest and Application_Error. For more information, see ASP.NET Application Life Cycle Overview for IIS 5.0 and 6.0....

How to: Filter the Nodes Retrieved by SiteMapDataSource Web Server Controls  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The SiteMapDataSource control retrieves site-map data from a site-map provider, such as the XmlSiteMapProvider, which is the default site-map provider for ASP.NET. You can configure the SiteMapDataSource control to return the entire collection of site-map nodes or a subset. This is useful when displaying more than one navigation structure on a page, each displaying a separate section of the site map. It is also useful when distributing site-navigation elements across separate master pages in you...

How to: Create Event Handlers in ASP.NET Web Pages  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you are editing an ASP.NET Web page in Visual Studio, you can create server event handlers for controls and for the page in a variety of ways. Some of the ways depend on which programming language you are working in. You can create handlers by using the facilities in Visual Web Developer, or you can create them declaratively or in code....


1  2  3  4  5  6  7  8  9  10  


Disclaimer - Privacy
© 2002-2012 DevASP.net