The Code Page
A series of development tips and code examples by Gabriel McAdams
Feb 10

There are a lot of really great controls in the ASP.Net AJAX Control Toolkit.  For those of you who are unfamiliar with the toolkit, it is an open source project that is built on top of the Microsoft ASP.Net AJAX framework (the framework was formerly known by its code-name: Atlas).  It contains over 40 controls that you can use to build highly responsive and interactive Ajax-enabled Web applications.  It is a joint effort between Microsoft and the development community.

Today, I’m going to talk about one of the controls specifically.  The HTMLEditor control.  This control allows you to create and edit html content directly from within your browser.  There are a lot of toolbar buttons available, and you can edit your content using the WYSIWYG (What you see is what you get) pane or the html text pane, and view the results using the Preview pane.


Feb 02

Over the years, I have encountered a few web developers who ignore client side (JavaScript) errors in their applications.  Some have even asked me for ways to suppress client-side errors all together.  With the growing amount of client-side code in web applications, this is a big concern.

It may seem to some that JavaScript errors are inconsequential, but this is not the case.  They are errors just like any other.  Whenever an error occurs, your application is no longer doing what you designed it to do.  A lot of developers feel that there is nothing they can do.  That is on the client.  I have no way of knowing what happens on the client.  In this post, I will provide code that allows the developer to receive notifications whenever a JavaScript error occurs on the client.