Posts tagged ‘ASP.Net’

COMException (0x80072020)

This post is programming related and has nothing to do with electronics. I have not written anything programming related topics lately, but this one is worth sharing as it is related to an rather obscure error. Continue reading ‘COMException (0x80072020)’ »

An Obscure System.Web.Mail Error Message

Today I encountered a rather obscure error while maintaining some old ASP.Net code (Framework 1.1). Continue reading ‘An Obscure System.Web.Mail Error Message’ »

Extending the GridView — Part IV

In the previous three posts(I, II, III), I showed you how to inherit from GridView control to create an extended control that can bind to a generic list of objects. In this final post of the series, I will show you a simple example to illustrate how to use the GridViewEx control. Continue reading ‘Extending the GridView — Part IV’ »

Extending the GridView — Part III

In Part II, I showed you how to extend the GridView control so that we can bind a generic list to it. Because GridViewEx inherits from GridView, it has all the functionalities GridView has (i.e. paging). Sometimes, it is desirable to change the number of items displayed on a page dynamically, to accommodate this, we will create a GridViewPager control (ascx). Continue reading ‘Extending the GridView — Part III’ »

Extending the GridView — Part II

In Part I, I talked about why we needed to extend the GridView and some of the benefit in doing that. In this post, I will discuss how to extend the standard GridView control to take advantage of binding to the type safe value objects mentioned previously. Continue reading ‘Extending the GridView — Part II’ »

Extending the GridView — Part I

Most business applications require presenting result sets to the end users in the form of some kind of grid views. Continue reading ‘Extending the GridView — Part I’ »

Unexpected Event Behavior

Typically, there is rarely a need to change a control’s ID. However, this practice is sometimes useful when debugging a custom control, partiularly one that contains dynamically generated controls. Continue reading ‘Unexpected Event Behavior’ »

Certain IIS Settings Cause Websetup Failure

I ran into an interesting problem with the Web Setup project in ASP.Net 2.0 last Friday. Continue reading ‘Certain IIS Settings Cause Websetup Failure’ »

A Stange Issue With Global.asax

I always use Global.asax for centralized error handling in my ASP.Net applications and typically it works great. Continue reading ‘A Stange Issue With Global.asax’ »

Multiple Row Selection With GridView

We often need the capability of selecting multiple rows from a grid, unfortunately the GridView component in ASP.Net 2.0 does not offer an out-of-box support for such functionality. Continue reading ‘Multiple Row Selection With GridView’ »

Reflection and Case Sensitivity

Reflection is case sensitive by default, which comes at no surprise to most C# developers. Continue reading ‘Reflection and Case Sensitivity’ »

JScript Exception in AJAX Control Toolkit

I ran across an exception "Microsoft JScript runtime error: ‘this._postBackSettings.async’ is null or not an object" the other day while writing some AJAX code with .Net AJAX Extensions for .Net framework 2.0. Continue reading ‘JScript Exception in AJAX Control Toolkit’ »

Interesting Databinding Behavior

Earlier today, while I was trying to bind a collection to a drop down list, I got the following exception: Continue reading ‘Interesting Databinding Behavior’ »

Weird Master Page Problem

I recently ran into a very strange problem with ASP.Net 2.0. I have used master pages for a couple of years now, and this is the first time I encountered such an odd problem. Continue reading ‘Weird Master Page Problem’ »

A Stange Post Back Problem

A few days ago, I was deploying a Website at work and ran into a very mysterious problem. Continue reading ‘A Stange Post Back Problem’ »