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

Home >Search > Articles & Samples > ASP.Net > Event Handling

What's New - What's Hot
Anonymous methods as event handlers – Part 1  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: S. Senthil Kumar      Rating:  
Read Reviews | Write Review |  Your Rating: 

The syntactic sugar offered by anonymous methods makes them great candidates for writing event handlers; together with smart type inference, they reduce the amount of code written by an order of magnitude.

And that’s without considering the power offered by closures. With event handlers, closures allow you to kind of “stuff” extra parameters into the handler, without changing the actual number of formal parameters. This blog post shows a situation where an anonymous method acting as an ev...

INFO: ASP.NET HTTP Modules and HTTP Handlers Overview     
Total Hits: 109  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides an introduction to the ASP.NET HTTP modules and HTTP handlers.

HTTP modules and HTTP handlers are an integral part of the ASP.NET architecture. While a request is being processed, each request is processed by multiple HTTP modules (for example, the authentication module and the session module) and is then processed by a single HTTP handler. After the handler has processed the request, the request flows back through the HTTP modules....

Raising and Handling Events with ASP.NET Ajax     
Total Hits: 107  |  Today: 0Author: Alessandro Gallo      Rating:  
Read Reviews | Write Review |  Your Rating: 

JavaScript developers are acquainted with the event model provided by the DOM. You can program against the DOM elements of a web page by hooking up their events and executing code in event handlers. For example, a button element can raise a click event when it's clicked by the user. The window object raises a load event when the page is loaded and an unload event when the user navigates away from the page....

Dynamic Events on an ASP.NET Page     
Total Hits: 91  |  Today: 0Author: Peter van Ooijen      Rating:  
Read Reviews | Write Review |  Your Rating: 

Building a web application has become a snap using Visual Studio.NET. You create an aspx webform, drag some controls from the toolbar and then customize the controls in the properties window. That window has two tabs, one for the properties themselves and one for events. Properties have straight values like a color or size, but events stand for real code. This code is written in the programming language chosen for the project. I will choose C# to explore this world of .NET events....

Disabling button at client side before firing server side event     
Total Hits: 203  |  Today: 0Author: spraman.      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many a times it's required to disable the button at client side before firing the server side event. One best example is while processing credit card payments, the button has to be disabled until the card details are processed which is a time consuming job. This may sometimes seem to be unresponsive, so if the user clicks the button once again the risk is that payment may get processed twice.

So to avoid this it's a best practise to disable the button at client side once the user clicks t...

Finish Your Week with .NET Rocks!     
Total Hits: 140  |  Today: 0Author: Carl Franklin      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is the first in a series of what I hope will be one of your favorite columns for years to come! I am the host of a talk show on the Internet called .NET Rocks! (see advert), in which I interview the movers and shakers in the .NET community. My guests have been known to share little gems of .NET wisdom, offer insights, and even hint at the future (in the case of guests from Microsoft). So, the most-awesome and good-hearted people at CoDe Magazine thought that some of these nuggets would make...

ASP.NET Health Monitoring - Building an EventLogWebEventProvider - Part 2  Version: 0.00     Price: $0.00  
Total Hits: 10  |  Today: 0Author: Nuno M. F. Gomes      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the first post of this series I've manage to find the correct eventId for each Web Event type, and by this time the major problem has been solved, but I cannot yet write a correct entry into the EventLog.

I still have to decided the best severity type and category to apply....

Performing Cross-page Posting in an Event Handler  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Shou Takenaka      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes an idea of the ASP.NET page transfer method that can be called like the Response.Redirect method and works as cross-page posting.

When I develop ASP.NET applications, I often use cross-page posting to transfer and to pass page data to another page. The advantage of cross-page posting is that the transferred page can access the previous page to retrieve page data. It reduces the cost of session management. So, I prefer to use cross-page posting....

WMI, Windows Event Logs and User Privileges  Version: 0.00     Price: $0.00  
Total Hits: 16  |  Today: 0Author: Uros Calakovic      Rating:  
Read Reviews | Write Review |  Your Rating: 

Some WMI operations require that SWbemServices object explicitly gets assigned appropriate privileges. The list of available privileges can be found here, and they can be assigned in two ways:

* Using the WMI moniker
* Using SWbemPrivilege and SWbemPrivilegeSet objects from WMI scripting API...

Handling Events within a Repeater Control Using ASP.NET 2.0  Version: 0.00     Price: $0.00  
Total Hits: 19  |  Today: 0Author: Shaun Eutsey      Rating:  
Read Reviews | Write Review |  Your Rating: 

I was confronted a while back with an interesting problem that I was asked to solve. I do say problem; I am not afraid of that word as many people are. I look at problems as opportunities; opportunities to find solution and to grow, both personally and professionally....

Working with XmlDataDocument Events in ADO.NET  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

The XmlDataDocument events are useful when your application needs to notify you when changes are being made to an XmlDataDocument object. XmlDocument defines XmlDataDocument events (see Table 9-6)....

Defining an Event in Windows Forms Controls  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

For details about defining custom events, see Raising an Event. If you define an event that does not have any associated data, use the base type for event data, EventArgs, and use EventHandler as the event delegate. All that remains to do is to define an event member and a protected OnEventName method that raises the event....

How to: Create Event Handlers in ASP.NET Web Pages  Version: 0.00     Price: $0.00  
Total Hits: 12  |  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....

ASP.Net Multiple Button Controls with Single Event Handler     
Total Hits: 88  |  Today: 0Author:      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Command method of ASP.Net Button control enables you to handle the click event of multiple button controls with a single command event handler. The clicks on ASP.Net Button control can be handled by command event handler using the command method that will execute the specified action based on the values of CommandName and CommandArgument properties. In the command event handler code you can create the conditional sets of server side code that will perform the action according the specified C...

EventManager Class     
Total Hits: 47  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Provides event-related utility methods that register routed events for class owners and add class handlers....

Handling Cookie in ASP.NET     
Total Hits: 101  |  Today: 0Author: Hans Candra      Rating:  
Read Reviews | Write Review |  Your Rating: 

HTTP cookies, or more commonly referred to as Web cookies, tracking cookies or just cookies, are parcels of text sent by a server to a web client (usually a browser) and then sent back unchanged by the client each time it accesses that server. HTTP cookies are used for authenticating, session tracking (state maintenance), and maintaining specific information about users, such as site preferences or the contents of their electronic shopping carts....

Handling the back button from server code     
Total Hits: 171  |  Today: 0Author: Bertrand Le Roy      Rating:  
Read Reviews | Write Review |  Your Rating: 

One common drawback of Ajax applications is the loss of the browser's back button. This article by Bertrand Le Roy shows how to restore it using ASP.NET 3.5 Extensions Preview and server code....

Events in SharePoint 2007     
Total Hits: 83  |  Today: 0Author: Ted Pattison      Rating:  
Read Reviews | Write Review |  Your Rating: 

Windows® SharePoint® Services (WSS) 3.0 offers developers many significant improvements for building custom business solutions based on SharePoint sites. One of the biggest developer-focused enhancements has to do with a new infrastructure for handling server-side events. For example, when a user performs an action that modifies content in a SharePoint site—say, uploading a new document or deleting an item from a list—there is an opportunity for a developer to respond to this user action with an...

Using ICALLBACKEventHandler in ASP.NET     
Total Hits: 112  |  Today: 0Author: Ashish Sarda      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET 2.0 introduced an interface named ICallbackEventHandler (System.Web.UI.ICallbackEventHandler) to allow asynchronous communication with the server. Unlike Postback, in Callback only user defined information is sent to the server. Instead of using Postback to post the page, ICallbackEventHandler uses the DoCallback event to send user defined data to server, and return a String to client; on the client-side JavaScript can then manipulate the string. In total we have to use four functions fo...

Event Calendar [ ASP.NET 2.0 / C# ]     
Total Hits: 300  |  Today: 0Author: Neeraj Saluja.      Rating:  
Read Reviews | Write Review |  Your Rating: 

Tracking anything in dates is one of the common requirement now a days. Tracking events, project milestones, tracking history, tracking schedule etc etc. It was quite a complex job until the wonderful Calendar Control of ASP.NET 2.0. It is one of the Standard Server Side Web Control of ASP.NET 2.0, which when used properly can help in accomplishing the varoius requirements, tracking being one of them. Here we are going to see how can this Calendar control can help us in tracking the events....

1  2  3  4  5  Next >> 

Disclaimer - Privacy
© 2002-2017