.NET

There are 5 entries for the tag .NET

Dynamically change Body Background-image!

What if you need to dynamically change the Body Background-image based on whether the Page IsPostback? You have a CSS Stylesheet for the page, and that Stylesheet has a background-image defined for the body tag. So what is the [workaround]? You first must define the body tag on the page as a server control. Then you can access the body control via code in your page: 1: protected void Page_Load(object sender, EventArgs e) 2: { 3: if (!IsPostBack) 4: { 5: var rnd = new Random(); 6: // the background ......

Posted On Sunday, December 13, 2009 5:11 PM | Comments (0)

Error: conversion of a datetime2 data type to a datetime data type…

Using VS2008 and Entity Framework, the exact error message is: "The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.\r\nThe statement has been terminated." There are several causes for this rather generic (and not very intuitive) error message. I had changed some fields in the SQL 2008 database from non-nullable to nullable, and then asked the tool to “update model from database”. The error message appeared in that instance because one part of the ADO.NET ......

Posted On Sunday, September 6, 2009 5:01 PM | Comments (1)

Colorado Rapids Suffering from "”Mysterious White Box Syndrome”…

As you can see from the screen-shots below, the syndrome may be fatal to their Website! Figure 1 In Figure 1, notice the prominent white-box (which is supposed to be a menu drop-down list) covering the player in the white uniform. Figure 2 In Figure 2, the box is wider and over to the right, covering advertising above the calendar schedule. How in the world did the Colorado Rapids become sick with this Mysterious White Box Syndrome? Well, I’m glad you asked! No, really, I am! Can’t you hear me smiling?! ......

Posted On Wednesday, August 26, 2009 4:58 PM | Comments (0)

Tips and Tricks – Windows Live Writer (WLW)

The “normal” windows keyboard shortcuts of Ctrl+Z (undo), Ctrl+Y (redo), and Shift+Enter (new paragraph inside of bulleted/numbered items like these) work great in WLW. I had a few “Recently posted” items, from failed posts still hanging around in the right sidebar. When I tried to click on them, I got an error message. Very frustrating, and I wanted them gone! If there are enough “Recently posted” items, you can just click on the More… folder link at the bottom of that section, and it opens a dialog ......

Posted On Sunday, August 23, 2009 4:57 PM | Comments (0)

Finally decided to Blog…

I am the Geek who has resisted Blogging for so long,, but now I am going to take the plunge! Hopefully the waters will remain calm and tranquil, no matter what topics I choose! Technorati Tags: C#,ASP.NET,.NET,Software,So... State Soccer Association,Colorado Rapids,MLS ......

Posted On Saturday, August 23, 2008 10:07 PM | Comments (0)

Copyright © intermark

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski