javascript

Easily refresh an UpdatePanel, using JavaScript [Encosia]

Seems that I occasionally need to trigger the postback on an UpdatePanel, and invariably I forget between usages. Since this particular post from Encosia has saved my bacon on more than one occasion, I shall share it here (and for my own future benefit): Easily refresh an UpdatePanel, using JavaScript | Encosia: I’ve noticed a …

Easily refresh an UpdatePanel, using JavaScript [Encosia] Read More »

Setting Session Variables in ASP.NET from JavaScript

Someone on the ASP.NET forums asked how to set session variables in JavaScript. The answers given ranged from “totally wrong” to “rather misleading” or “marginally helpful”. So in a nutshell, yes, you can totally do it. Not only will you be able to do it, you will love doing it after you get used to …

Setting Session Variables in ASP.NET from JavaScript Read More »

Preparing Your Web Content for iPad (Apple Technical Note TN2262)

Apple ~Technical Note TN2262: Preparing Your Web Content for iPad: Safari on iPad is capable of delivering a “desktop” web experience. iPad has a large, 9.7″ screen and fast network connectivity, and Safari on iPad uses the same WebKit layout engine as Safari on Mac OS X and Windows. You can ensure that your website …

Preparing Your Web Content for iPad (Apple Technical Note TN2262) Read More »

When JavaScript Conventions Aren’t Conventions

In experimenting with Dashcode last night using the introductory tutorial provided by Apple, I noticed that in their example, they build a URL dynamically: var dsource = dashcode.getDataSource(“list”); var name = dsource.selection().valueForKey(“name”); document.location = (“http://www.google.com/search?client=googlet&q=” + name); But your first thought when looking at this may be (as was mine), “what if there are spaces …

When JavaScript Conventions Aren’t Conventions Read More »