January 2009 - Posts

Client side devevelopment in ASP.NET

We ASP.NET developers know how much of a pain it is writing javascript in any app we have today because of naming container madness! You've probably done something like this:

function DoSomeThingCool() {
    var textBox = document.getElementById('ct100_contentplaceholder1_TextBox1');

or something not so hardcoded

function DoSomeThingCool() {
    var textBox = document.getElementById('<%= TextBox1.ClientID %>');

Matthew Osborn, QA on the ASP.NET team has a great post on a new ASP.NET 4.0 feature that gives developers more control over how ClientIDs are generated.

Posted by davidfowl with 10 comment(s)
Filed under: , ,

Follow me on twitter!

I've finally got sucked into twitter after avoiding it for many months. Check me out:


Since my name is so common it really annoys me when I sign up for any new service because I have to get accept some partially mangled version of my name (i.e. davidfowl).

Anyways, stay tuned!

Posted by davidfowl with no comments
Filed under: ,
More Posts