dot net resources home
AutoCompleteDropDownList updated on Google Code project

Go to http://code.google.com/p/brettresources-servercontrols/ for the latest source code, or just download the latest release bits at http://brettresources-servercontrols.googlecode.com/files/BrettResources.ServerControls.dll.


AutoCompleteDropDownList added to Google Code

I've started a code project on Google code and added my server control to http://code.google.com/p/brettresources-servercontrols/.


Add Sandcastle doc generation to your NAnt builds

A critical step in your automated build process is documentation generation. This article explains how to add documentation generation to NAnt scripts using Sandcastle.


A Custom DropDownList Control With Autocomplete for ASP.NET 2.0

In this article I'll show you how to easily create a DropDownList control in ASP.Net 2.0 that solves the same problem as a previous version solved in ASP.Net 1.* (seen at http://www.dotnetjohn.com/articles.aspx?articleid=132).


Testing Custom Server Control Code That Depends On Its Container / Parent (the Page Object)

The issue of faking the Page object cropped up recently for me when building a server control library. I added client-side event attributes to my controls and wanted to write a test that essentially verified the expected html had been added to the HttpResponse. I hit a roadblock when I got object reference errors for the control's Page object.


A Quick Exploration of the Atlas UpdatePanel control

I've been messing around with Atlas a bit and think the Update Panel server control is what I'm looking forward to most. This article is a brief introduction to the Update Panel control, and only touches the most basic aspects of the Update Panel and Atlas.


Using the new ASP.Net 2.0 XmlDataSource

With the new enhancements .Net 2.0 comes with, it's easier than ever to pull data from any source and display it on a web page. This article shows you how to use the XmlDataSource to display data in a DataList.


Handling the Client-Side onblur event of an asp:TextBox wth Server-Side code

A recent project required me to handle more client-side events than the usual click, onchange and submit events that are easily wired up with the .Net framework. Here's a way to handle additional client-side events with server-side code. WARNING: This does involve what I would consider a hack, but does solve the business problem.


Injection-Safe Inline SQL with LIKE in the WHERE Clause

Have you ever used dynamic / inline SQL for data access and wanted to ensure prevention of SQL Injection by using ADO.Net SqlParameters? This example shows how to do just that while using SQL wildcards (%) with LIKE in your SQL statement's WHERE clause.


Creating Web Parts for SharePoint Portal Server 2003 with ASP.Net User Controls

This short article describes how to create your own SharePoint Portal Server 2003 Web Parts using ASP.Net Custom Controls, rather than rendering HTML in the much more difficult method found with developing other server controls. This method also simplifies debugging and testing.


An Overview of Web Application Architecture Best Practices

This is a short and by no means complete list of best practices that I would advise following in your web application development processes. I may be adding to this list in the future as my experiences reveal new items to add.


Creating a asp:HyperlinkColumn for your DataList or Repeater

The HyperlinkColumn is an effective way of generating a column of links for the DataGrid, but is not accessible in other templated ListControls such as the DataList or Repeater. There are several methods for adding this capability onto your web forms - two are shown here.


view all articles