I have a master page and I need to give user a option of selecting color like red , blue or green. Once it selected the Background color of an image should be changed from transparent to selected color. How to do it?
I am upgrading part of a very old website. One of the pages that I own uses controls and dlls that I do not. There is one dll that puts a textbox (input field) on the page. This field is concepually a label but the person chose to use a textbox. Anyways, I can't change the dll.
Is there a way in my asp.net page that uses the dll to say all the textboxes on this page should have a transparent background?
This is the code I have access to. Any changes I make have to be made here.
I want store the image in SQL server table, and I successed but when I retrive that image on page, I found that the image has lost its transparency. The origional image is png/gif. I have resized that image in 100px /100px.
I have used following code to resixe the image. It works but when it stores image in database it lost the transparency.
I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.
I am using a panel whose background image is set. Though I dont want the background image to get tiled but it should stretch inside the panel. How much ever small the image is, it should get stretched and fit to panel according to the size of panel.How do I get this functionality??Please note that there is a specific reason that I want to stretch the panel background image and I cannot use any <img> tag.
I have the following code, but the only issue with it is that I must load and refresh the webpage in order for it to work.┬á
Of course I need to use AJAX to send the image URL's to the script. I really don't have a clue how to go about doing this. Here is my test page which has a button and the image:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Debug="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">