Tim’s Blog
-
SilverLight and Z-Index
When implementing a new SilverLight custom control, it was blocking menu popups (html / javascript) on the page. I set the z-index of the div and object tags that contained SilverLight to no avail. After a lot of googling, I found the following solution. Set the Windowless property to true. In the case of manually…
-
JSON Objects
Answered a question on StackOverflow that I thought is worth posting about. It’s surprising how many people try to work with JSON without knowing javascript. Most JSON either returns objects {} or arrays []. The first thing you learn about JSON is that you can just eval the object. In the case of arrays, you…
-
Fun With the GAC
The .Net GAC (Global Assembly Cache). It’s where all shared .Net components can live. However, if you have to step through the code of one of these assemblies things can get exciting… Let’s say that I have a Business Object dll named business.dll and I have it in my GAC. And a project in which…
-
Keeping Temporary Files Out Of The Way In Emacs
Found some very useful emacs info in this this blog post. Put the following into your config and your temporary and autosave files will not clutter up your project directory. (defvar user-temporary-file-directory (concat temporary-file-directory user-login-name “/”)) (make-directory user-temporary-file-directory t) (setq backup-by-copying t) (setq backup-directory-alist `((“.” . ,user-temporary-file-directory) (,tramp-file-name-regexp nil))) (setq auto-save-list-file-prefix (concat user-temporary-file-directory “.auto-saves-“)) (setq…
-
How I Use ASP.Net Skins and Themes
Recently reading some discussion of themes, and skins were listed as bad, because they cut out the designer and required duplication for any non-server control element. As in the following: I want all my text input’s to have a blue background. So I said background=”blue” in an asp.net skin file, and create a blue style…
Got any book recommendations?