Quantcast
Channel: Web Development – Justin Cooney
Browsing all 80 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Enable/Disable Allowed File Types in DotNetNuke

DotNetNuke (DNN) is a good content management system that greatly simplifies the day to day administration and content management of sites. One nice feature is the file management system which allows...

View Article



Image may be NSFW.
Clik here to view.

Using a JQuery AutoComplete Widget with an ASP.NET Web Service

I’ve been playing around with hooking up the JQuery AutoComplete widget with an ASP.NET Web Service. This is a really neat idea that adds a lot of whizzbang to a standard Web-based form. In theory one...

View Article

Image may be NSFW.
Clik here to view.

Custom Function to Inject HTML Tags Iteratively into ListView Column Text

The ASP.NET system libraries offer powerful string manipulation functionality in the form of extensive Regular Expression support as well as String-specific functions such as Split and Replace. In 99%...

View Article

Image may be NSFW.
Clik here to view.

Using an XMLDataSource with a DropDownList Control

If you work a lot with ASP.NET then it’s likely that at some point or another you will ask yourself how to hook up an XML Data Source with a DropDownList control. This just makes sense if you want to...

View Article

Image may be NSFW.
Clik here to view.

Set up a Multi-Line Editable GridView Disassociated from a DataSource

GridView controls are versatile multi-purpose ASP.NET widgets. I like the default functionality when hooked up to a data source, but depending on a project’s requirements I also like the ability to...

View Article


Image may be NSFW.
Clik here to view.

Regular Expressions in .NET to Surround but not Replace Text Matches

ASP.NET offers strong support for regular expressions in the System.Text.RegularExpressions Namespace. This is great since regular expressions are essential if you want to do anything beyond basic text...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Choosing Parameters.Add or Parameters.AddWithValue

If you are adding parameters to a SqlCommand object then you can use either Parameters.Add or Parameters.AddWithValue. The Parameters.Add syntax requires you to explicitly specify the DataType of the...

View Article

Image may be NSFW.
Clik here to view.

Configuring a Web Server to Allow Excel File Creation via the Interop.Excel...

In an earlier article I covered how to generate Excel reports on the fly using the Interop.Excel Namespace. This is a really handy technique that also gives you full control over the minutia of the...

View Article


Image may be NSFW.
Clik here to view.

Generating GUIDs in .NET

GUIDs are useful tools for .NET developers and Windows developers in general. If you need a unique value for your code, then a GUID (Globally Unique Identifier) is one of the best ways to go. One thing...

View Article


Image may be NSFW.
Clik here to view.

Internet Explorer Friendly Error Messages: Not So Friendly After All

If you are a programmer trying to debug an application, then the last thing you want to see is a so-called Friendly Error Message rather than what actually happened. I personally don’t think that this...

View Article

Image may be NSFW.
Clik here to view.

Using a JQuery Modal Dialog with Checkboxes in an ASP.NET GridView

Recently I wanted to use the stock JQuery UI modal dialog confirmation widget with an ASP.NET GridView control. The image above shows the basic setup that I wanted the GridView to have. As you can see,...

View Article

Image may be NSFW.
Clik here to view.

Correcting 404 Errors in IIS 6 When Running an ASP.NET ASPX Page

I was setting up a new Web Server that had been pre-installed with Windows 2003, IIS 6 and ASP.NET 2.0. The catch was that when I set up a new Web site on the server, I would get a 404 error page when...

View Article

Image may be NSFW.
Clik here to view.

Generate a PDF from an ASP.NET Web Page using the iTextSharp XMLWorker Namespace

If you need to quickly and easily generate PDF documents from ASP.NET, then the iTextSharp library is very convenient. To install and start using iTextSharp, you can download the zipped reference files...

View Article


Image may be NSFW.
Clik here to view.

SQL Server – Pass a List from your ASP.NET Code to a Stored Procedure using XML

Sometimes while developing a tool, a developer needs to pass a list of values with a variable size to their database. There are several ways of doing so, one of which involves passing the list in XML...

View Article

Image may be NSFW.
Clik here to view.

Use a JQuery Modal Form Dialog to Add Rows to a GridView Control

Hooking up a JQuery Form Dialog Widget to an ASP.NET GridView Control Let’s face it: the stock ASP.NET GridView control has some behaviors and limitations that aren’t exactly optimal. For starters, the...

View Article


Image may be NSFW.
Clik here to view.

ASP.NET Example – Populating a DataSet Using SQLDataAdapter Fill DataSet

In the example functions below I’m illustrating how to set up a basic query to a stored procedure in your database that takes a single string parameter. The examples involve using the SQLDataAdapter...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET – Example Connection Returning a Single Value

By definition, a scalar query will return the first column of the first row of the resultset returned by a query. This can come in handy at times. In the next series of articles I will cover the basic...

View Article


Image may be NSFW.
Clik here to view.

ShowModalDialog – Example Code and Some Tips

Using the JavaScript showModalDialog function is a useful way for Web developers to create a modal popup. Unlike other popup functions, the showModalDialog function makes use of two separate HTML...

View Article

Image may be NSFW.
Clik here to view.

Using a JQuery DatePicker with an ASP.NET DataList and UpdatePanel

When you are developing a new Web form there are a number of useful technologies that you can use to enhance the functionality of the form. Today I will review combining an ASP.NET DataList control...

View Article

Image may be NSFW.
Clik here to view.

VB.NET – Reviewing String Collection Options

I’ll spend some time in this article reviewing some of the more common ways of handling String collections in VB.NET. Arrays in VB.NET do behave somewhat uniquely in several key aspects and working...

View Article
Browsing all 80 articles
Browse latest View live




Latest Images