Browse by Tags

All Tags » JavaScript (RSS)
We’re on the plane flying back to St. Louis from DNN World 2011 .  I gave a presentation titled DNN 6 UI/UX Patterns , discussing the form patterns introduced in the administrative modules in DNN 6 (the new look and feel that you immediately noticed...
In JavaScript, all values can be coerced into a Boolean value (i.e. true or false ). Most values will evaluate to true , there are just a handful that will be false . Aside from the literal false value, the number zero ( 0 ), an empty string ( '' ), NaN...
JavaScript is a language steeped in juxtaposition. It was made to “ look like Java ,” yet is dynamic and classless. From this origin, we get the new operator and the this keyword . You are probably used to this referring to the current instance of a class...
One of the biggest issues that you can run into with writing JavaScript is abusing the shared global namespace, and overwriting the variables of an unrelated script. Everything that you declare in JavaScript is available to every other script on the page...
When coming from a strongly-typed, object-oriented background, there may be some surprising elements when looking at how functions are used in JavaScript. Functions in JavaScript don’t have any real concept of a signature, like they would in .NET. All...
The term closure refers to a function which references variables outside of its scope; the function is “closed over” those variables. I’ll give an example of misusing closure in JavaScript and C#, then compare the solutions. This example is going to attempt...
I gave my JavaScript language talk at the St. Louis .NET/DotNetNuke User Group last night.  I’ve posted the presentation (with some updated, clarified example code) up on slideshare. JavaScript: The Language I woke up this morning thinking through...
Saturday, October 2nd was the Day of DotNetNuke in Chicago .  A number of us from Engage attended and spoke .  I gave two presentations, which are now available on SlideShare (linked below).  I’ve added some notes (be sure to click the...
.csharpcode.embedding-javascript { font-size: small; font-family: consolas, "Courier New", courier, monospace; /*white-space: pre;*/ } pre.csharpcode.embedding-javascript { color: #000; background-color: #fff; } .csharpcode.embedding-javascript pre {...
I was tasked yesterday with adjusting a hierarchical Infragistics WebGrid (2007.2, but I don’t expect that it’s substantially different in any other recent versions) so that when a checkbox was checked in a parent row that the children rows’ checkboxes...
More Posts