imagine kitty magazine

Skip to main content
  • Categories

    • America
    • ASP.NET
    • Bible tags
    • C#
    • Christianity
    • Classic ASP
    • Firearms
    • Humor
    • LINQ
    • MVC
    • Programming
    • Random
    • Trackbacks
    • Web design
    • Web standards
    • Why I am the way I am
    • Wordpress
  • Links

    • benthack
    • ASP.NET Resources
    • Bible Dude
    • Cake Wrecks
    • Church Communications Pro
    • Creating Passionate Users
    • Dossy’s Blog
    • Gary Turner’s html & css workshop
    • I Will Teach You To Be Rich
    • id Projections
    • Information Pollination
    • Pescatarian Cooking
    • SystemDotWeb
    • The Crazy Rants of Samantha Burns
    • The Nice Jewish Website
    • The Sneeze
    • Tyssen Design
  • Pages

    • Bible verse tags 2.0
    • Privacy Policy
    • Steps to building a proper web page
  • Info

    • home
    • Log in
    • contact mark
    • blogs that link here*
    • valid xhtml
    • valid css
    • valid rss2
    • rss feed
Sigarms P229

spam this

You are currently browsing the archives for the Programming category.mailto:chez@whiz.com

Archive for the 'Programming' Category

« Previous Entries

Dynamic Javascript using ASP.NET MVC (15Aug10)

Create a new MVC applictaion Open /Views/Shared/Site.Master <script src=”/Scripts/script.js” type=”text/javascript”></script> This doesn’t point to anything yet Open Global.asax Add a MapRoute routes.MapRoute(“Javascript”, “Scripts/{scriptFile}.js”, new { controller = “Scripts”, action = “Index”, scriptFile = “script” }); Now /Scripts/script.js points to Script/Index Add a view for CssController/Index <%= Url.Content(“~/Content/test.jpg”) %> Change contenttype in page directive of Views/Scripts/Index.aspx [...]

Posted in ASP.NET, C#, MVC, Programming | No Comments »

Dynamic CSS using ASP.NET MVC (26Feb10)

I’ve been considering the usefulness of adding a CSS management system to my CMS that I’ve been working on. Here are the steps I’ve taken to implement it. Create a new MVC applictaion Open /Views/Shared/Site.Master <link href=”/Css/Site.css” rel=”stylesheet” type=”text/css” /> This doesn’t point to anything yet Open Global.asax Add a MapRoute routes.MapRoute(“Css”, “Css/{cssFile}.css”, new { [...]

Posted in ASP.NET, C#, MVC, Programming | 5 Comments »

Adding links to all pages on a site using CSS (23Feb10)

OK, I named this post that so that perhaps google will pick it up and those new to CSS will find this post. There is a really good reason that there are no tutorials on the internet concerning how to add content (a site menu is the most common request) to all the pages on [...]

Posted in Programming, Web design, Web standards | Comments Off

Finding the current season using C# (28Dec09)

Recently someone challenged me to write a server-side method for finding the current season and changing a style sheet accordingly. The first step is deciding how to differentiate the seasons. I figured to use the day of the year so that astronomically Spring begins on March 21st, the 80th day of the year. Summer begins [...]

Posted in ASP.NET, C# | No Comments »

SCOPE_IDENTITY() with LINQ (31Oct09)

While reading about a recent question concerning @@Identity and the reasons to use SCOPE_IDENTITY() instead I experimented with LINQ to get the SCOPE_IDENTITY() results. using (var dbc = new siteDataContext()) { dbc.Log = Console.Out; repertoire newSkill = new repertoire { skill = “a new item” }; dbc.repertoires.InsertOnSubmit(newSkill); dbc.SubmitChanges(); Console.Write(newSkill.id.ToString()); } It seems that calling the [...]

Posted in ASP.NET, C#, LINQ, Programming | No Comments »

71.5% of screen reader users find Flash difficult to use (10Feb09)

WebAIM‘s Screen Reader Survey, conducted December 2008 to January 2009, is a very interesting read. Yet another nail in the Flash coffin but surprisingly Frames are deemed easy to use by nearly 60% of screen-reader users. Give it a quick look. Comments open.

Posted in Web design, Web standards | No Comments »

Adding AJAX to an existing project that includes Routing (30Jan09)

I was working on a project and just on a whim decided to try out some of .NET’s AJAX controls. I chose a random page, added a ScriptManager, tossed in a TextBox and a CalendarExtender. F5. Page shows up. Javascript error: Line: 121 Char: 1 Error: ‘Sys’ is undefined Code: 0 Url: http://localhost:49329/admin.aspx Hmm. Try [...]

Posted in ASP.NET, C#, Programming | Comments Off

Working on Bible Verse Tags for ASP.NET (C#) (24Jan09)

To do: build Regex to detect bible verses in tags put in named back-references find a way to choose different tables with LINQ make it work for an entire chapter add error messages move it to a class file instead of in the page run it from the filterText method if IndexOf(“[bible]“) !=-1 fix toVerse [...]

Posted in ASP.NET, Bible tags, C#, Christianity, LINQ, Programming | Comments Off

« Previous Entries

Sponsored links

468x60-1 email address
Google
Custom Search

Amazon Wishlist

Hello, friends! I've decided to put my Amazon wishlist online. If you feel nice today you can purchase one of the items listed and it will be shipped to my door. My birthday is May 13th and I will gladly accept gifts for any Christian or Jewish holiday. Thank you for your support.

Site search and links

I'm a friend of Israel

234x60

Open Trackback Alliance Logo


Widgetize!
WWW is deprecated
no-WWW class B
free email addresses
*blogs that link here powered by Technorati

©2010 imaginekittymagazine