Learning how sessions work in ASP.NET 4.0 is fundamental for any beginner developing websites. This is especially true if the site’s functionality relies on retrieving user-related information on any page as the user visits the website. This article will explain what sessions are, and illustrate the
Tag: Development
Derived Custom Control to Count Button Clicks in ASP.NET
(Sapna) This article is about creating a derived custom server control in ASP.NET which will count how many times it has been clicked. Derived custom controls are those controls which extend the feature of the control.
IDisposable and Thread Safety
The IDisposable interface should be applied to classes that hold unmanaged resources, either directly or indirectly. When developing using parallel programming or multi-threading techniques, IDisposable should be implemented in a thread-safe manner.
How To Search for Multiple Occurrences of a String in a ListView
(Ged Mead) In an earlier blog I showed how to search for a word or phrase in any column of a list view, and then select and highlight any rows that contained the search word or phrase. In that first example, I restricted the search in two ways.
How to work with the nested GridView (a GridView inside another GridView) and populate the data?
(SheoNarayan) To work with nest GridView (a GridView inside another GridView), we can follow this approach.
Using One Object Per Event Type With Publish And Subscribe (Pub/Sub)
(Ben Nadel) Yesterday, I was reading an interesting article by Miller Medeiros that compared different types of publish and subscribe mechanisms. Publish and Subscribe (Pub/Sub) is nothing new – if you use jQuery at all, you’ve probably been using Pub/Sub a lot (even without thinking about it).
PHP Proxy Patterns: Completing a Blog
(Alejandro Gervasio) In this third part of a series on proxy objects, we’ll create a simple service layer to add to our blog program. With this finished application, you’ll see exactly how proxy objects can be powerful allies when you need to persist the entities of a domain model in a database.
Web Forms Model Binding Part 3: Updating and Validation (ASP.NET 4.5 Series)
(Scott Guthrie) This is the fifth in a series of blog posts I’m doing on ASP.NET 4.5.
WPF 4: Changing DataGrid Cell Appearance on Mouse Events
(Mahesh Sabnis) I was having a discussion with one of my clients about changing the appearance of the WPF DataGrid Cell, when a certain condition is met. His requirement was that a WPF application contains a DataGrid which displays Sales data. When a user wants to focus on a specific Quarter sales f
Multiple Document Interfaces in Visual Basic
Multiple document interface can be very useful when presenting your forms and controls in a VB.NET application project. This is a beginner tutorial on how to create a multiple document interface (MDI) project in Visual Basic 2008 (VB.NET).
