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 ......
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 ......
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: ......
***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 ......
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 ......
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: } ......
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 ......
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 ......
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 ......