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 …

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 …

Cooper Journal: Things I learned at Agile Up To Here

Here’s an excerpt from Cooper Journal: Things I learned at Agile Up To Here: Elisabeth Hendrickson has recently opened a new test-and-development training facility in Pleasanton CA called Agilistry. It’s bright and airy, well-lit and well-stocked, and it feels like home the minute you walk in. In order to publicize her new facility, she very …

Running a javascript function after UpdatePanel.Update()

Found this forum post to be very helpful and I think I may employ this more often when doing UpdatePanel related messaging-when-done… Run a javascript function after UpdatePanel.Update() – ASP.NET Forums: … You should call the method in this way: ScriptManager.RegisterStartupScript(this.Page, this.GetType(), “MyScriptName”, “<script type=’text/javascript’>functionToCall(‘hello world’);</script>”, false); The problem could be the fact that you …