Geeks With Blogs
mikedopp Geekswithblogs (edition) September 2007 Entries
Create a Banner/Ribbon in corner of your website!
Ever wondered how to put a ribbon on your website that was clickable to say an ad within your site or elsewhere? Try this! Create a user control cause its easy! <%@ Control Language="C#" AutoEventWireup="true" CodeFile="CommonBanner.ascx... Inherits="CommonBanner" %> <!--[if lt IE 7]><div id="advBanner" style="position: absolute;"><img src="/images/ribbons/Ribbon... alt=" If that's where you thought you were, you're not... but click here and we'll take care of that ......

Posted On Tuesday, September 25, 2007 4:39 PM

Mikes Links Monday 9/24/07
FUN HALO3 Love Kill the Blue Bunnies If Yall want to update your Windows XP! Like Alternative music? Try Radio From HELL! <!--Direct link to online streaming radio Need to open a port find out which one! FTP Love NOT! Create a Gravatar Best Vista Skin for Firefox Free mind mapping as if you really wanted to pay for it. Where have you worked or work? Fun little extra media player visuals. .NET/Web Design Man in Blue <--Excellent Javascript Guru Create a ASP.net Blog PageComments ASP.nEt Create ......

Posted On Sunday, September 23, 2007 8:32 PM

Networking speed issues with Vista
So we all know that vista has a new TCP/IP Stack. Oh you don't? Well welcome to bleeding edge I guess. No time to talk about that it will be another blog article I am sure. Moving fast forward to the topic. I have and will be RDPing (sounds weird and gross right?) into my windows 2003 server for work and such(until the windows 2008 server rollout at least(yes I am a beta tester but that has nothing to do with this article either. First Step: Turn off Cleartype fonts on windows 2003 server. Next Step: ......

Posted On Sunday, September 23, 2007 6:03 PM

How HTTP works
***This is definitely not the full definition this is my way of explaining it.*** HTTP stands for Hyper Text Transfer Protocol and has been around since 1990. It is an application layer protocol used to distribute information from various types of hypermedia, such as a web server. The current version in use in HTTP v1.1. This article is meant to be a general overview of the protocol we use day in and day out, with out even giving it a thought. HTTP Mechanics: The port that listens for HTTP requests ......

Posted On Sunday, September 23, 2007 5:09 PM

Login Failure Redirect using Login Control
I have been looking for a way to do this finally just had to take the time to write it. Enjoy! 1: protected void Login1_LoginError(object sender, EventArgs e) 2: 3: { 4: String message = login1.FailureText.ToString(); 5: 6: MembershipUser userInfo = Membership.GetUser(login1.U... 7: if (userInfo == null) 8: 9: { 10: LoginErrorText.Text = String.Empty; 11: 12: } 13: else if (!(userInfo.IsApproved)) 14: 15: LoginErrorText.Text = "Your account has not been approved yet, Please follow instructions ......

Posted On Friday, September 21, 2007 3:02 PM

Redirect Roles to specific pages
I have been looking for a better way to handle redirects but this works very well. 1: <%@ Page Language="C#" %> 2: <%@ Import Namespace="System.Security" %> 3: <script runat="server"> 4: 5: void Page_Load() 6: { 7: if(Roles.IsUserInRole("Admi... 8: { 9: Response.Redirect("~/member... 10: } 11: else if (Roles.IsUserInRole("Member")) 12: { 13: Response.Redirect("~/member... 14: } 15: else 16: { 17: Response.Redirect("~/defaul... 18: } ......

Posted On Friday, September 21, 2007 2:57 PM

Web.config and Connectionstrings a better way.
I like the web.config it handles everything that a config file should. Including the fun of handling your data. 1: <connectionStrings> 2: <add 3: name="LocalSqlServer" 4: connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilen... Instance=true" 5: providerName="System.Data.S... 6: /> 7: </connectionStrings> However if you develop like me you have three separated environments when writing a single app. Meaning you have ......

Posted On Friday, September 21, 2007 2:28 PM

Tafiti Gone Halo 3
I know, I know I love google too. However I am also a microsoft junkie. Never did like msn search much. I do however love Tafiti.com maybe cause it reminds me of tahiti somehow. Anyway the coolest looking search engine tafiti has gone halo 3 check it out and the screenshots ......

Posted On Friday, September 21, 2007 4:16 AM

Url ReWriting happiness
Here is the way to do it in the web.config. 1: <system.web> 2: <urlMappings enabled="true"> 3: <add url="~/youradork.aspx" mappedUrl="~/Dorks/default.... 4: <add url="~/bestenergydrink" mappedUrl="~/coke/vault.asp... 5: </urlMappings> 6: </system.web> Call this the easy way. Seems to work well ......

Posted On Thursday, September 20, 2007 12:18 PM

Copyright © mikedopp | Powered by: GeeksWithBlogs.net