Author: Unhandled Exception : ASP.NET | Posted on: 1/29/2009 3:09:00 AM | Views : 703

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. Read More......(read more) ...

Go to the complete details ...