Implemented CAPTCHA Security to Protect the Contact Page

Posted by: Imar Spaanjaars at Sunday, July 11, 2004 3:55:09 PM in: Imar's Blogs
With today's site update I have protected the Contact page with a CAPTCHA security mechanism. CAPTCHA stands for "Completely Automated Public Turing Test to Tell Computers and Humans Apart" and can be used to prevent automated attacks on pages that allow a user to submit Comments, Contact details, Orders and so on.
Read on ...

Passing Multiple Parameters to a Crystal Report Programmatically

Posted by: Imar Spaanjaars at Wednesday, July 7, 2004 12:16:19 AM in: Crystal Reports .NET

Passing a parameter to a Crystal Report is easy; all you need to do is drop a ready-made parameter field from the Field Explorer to your report and when the report is loaded, the user is asked for the parameter's value automatically.

Passing multiple parameter values to a report programmatically is a bit trickier.

Read on ...

How Do I Avoid Merged Properties in the Property Grid?

Posted by: Imar Spaanjaars at Tuesday, June 29, 2004 11:17:35 AM in: .NET Server Controls

Under normal circumstances, when you select multiple controls on a Web page, the property grid for the designer, like Visual Studio .NET or the Web Matrix, shows an intersection of the properties of the controls you selected. That is, it merges the properties that exist in all the controls and shows them in the grid as one property. This is often very useful as it allows you to quickly set the properties of a lot of controls to the same values, like the font for example.

Read on ...

How Do I Hide the Properties of My Server Control From the Property Grid?

Posted by: Imar Spaanjaars at Tuesday, June 29, 2004 10:27:28 AM in: .NET Server Controls
By default, all properties defined in your control will show up in the property grid when your control is selected in a designer like Visual Studio .NET or the Web Matrix. Often this is exactly what you want, but sometimes it doesn't make sense to have your properties displayed in the grid. For example, a read-only property isn't really useful to display; you should be able to access the property's value using code, but it's not necessary to display it in the grid.
Read on ...

Enhancing Design-Time Support in your Controls

Posted by: Imar Spaanjaars at Thursday, June 24, 2004 4:17:41 PM in: .NET General

Server controls allow a page developer to drag and drop a page together in no to time. Most of these controls come "out of the box" with ASP.NET like the TextBox, the Label, the DataGrid and many other controls. Changing the appearance and behavior of these controls is often as easy as visually setting a few properties in the properties grid for your design application, like Visual Studio .NET or the Web Matrix.. To make this process even easier, many properties can be expanded and collapsed in the property grid. By collapsing a property like the Font style, you end up with a shorter and much cleaner property list, making it easier to locate and change your properties.

Adding these collapsible properties to your own server controls is possible as well. This article will guide you through the process of creating a simple server control that exposes a collapsible property in the property grid of visual designers like Visual Studio.NET or the Web Matrix.

Read on ...

How Do I Debug the Design-Time Support Of My Server Controls?

Posted by: Imar Spaanjaars at Wednesday, June 23, 2004 4:28:05 PM in: .NET Server Controls
Debugging your server controls isn't too difficult. If your control and your consuming Web project are in the same Visual Studio .NET solution, debugging the control is as easy as setting a breakpoint and running your application in Debug mode. Debugging the Design-Time support of your controls is a bit trickier.
Read on ...

How Do I Display a List With Control IDs in a Control's Property?

Posted by: Imar Spaanjaars at Monday, June 21, 2004 5:12:29 PM in: .NET Server Controls
When you're building your own Server Controls you may have the need to hook up one control to another. This is a common practice with the ASP.NET Validator controls, for example. As soon as you drop a validator control on your page, the ControlToValidate drop-down displays a list with controls that can be validated. Adding this behavior to your own server controls is not as difficult as you might think.
Read on ...

SQL Server 2000 Reporting Services

Posted by: Imar Spaanjaars at Saturday, June 19, 2004 4:01:22 PM in: Imar's Blogs
I have been playing around with Microsoft's SQL Server 2000 Reporting Services and I must say I am pretty impressed.
Read on ...

What's New Lately?

Posted by: Imar Spaanjaars at Saturday, June 19, 2004 3:48:29 PM in: Imar's Blogs
Lately I haven't made much changes to the site; most features are ready and work as expected. I fixed a few bugs in the Voting Controls (and added enhanced design time support for them; a topic I might write an article about some day) but that's about it.
Read on ...

How Do I Bind a Database to a WebFX Combo Box Control?

Posted by: Imar Spaanjaars at Saturday, June 5, 2004 12:22:50 PM in: Classic ASP
An often requested feature in Web applications is a drop-down that behaves like a Combo Box in Windows applications. If you start typing in a drop-down in a Windows application, it will preselect an item that starts with all the letters you type in. The drop-down in a Web browser preselects the item that starts with the last letter you typed in. Not very convenient. Fortunately, there are many replacements for the default drop-down available. One of them is the WebFX Combobox. In this snippet, I will demonstrate you how to fill this control with information from a database. I won't be discussing how the control works, and I also won't explain how you can use the advanced features of the control that allows you to add new data. This snippet will simply demonstrate how to generate the client-side code for the drop-down with information from a database.
Read on ... 12345678910111213141516171819202122232425262728293031