I am trying to allow a user to specify a background color for my asp.net website. So I want to pass the page color into my url like:
UserDetails.aspx?Color=#FFFFFF
However as soon as I include the # character I can't seem to be able to get the correct value for the parameter Color using:
color = System.Drawing.ColorTranslator.FromHtml(Request.Params["Color"]);
Please help