0
votes

How to remove the clickabilty of an image?

as you may see, there is no arroung the image...

the code of img:

<input name="ui_taskFormControl$ctl03$ctl00$ctl03$ui_BirthPlaceImage" height="20" id="ui_taskFormControl_ctl03_ctl00_ctl03_ui_BirthPlaceImage" type="image" src="SmartPenHandler.ashx?FormId=XYZ&FieldId=BirthPlace" complete="complete"/>

alt text http://www.freeimagehosting.net/uploads/9f11efd474.jpg

2
private HtmlInputImage ui_BirthPlaceImage; The input is initialized like that above. - Bilgin Kılıç

2 Answers

3
votes

An <input> of type image is a form of form submit button. If you want an image that isn't clickable just use the good old fashioned <img> tag. There are probably other ways if you want it to stay as an <input> but using <img> will be your easiest solution.

0
votes
 ui_BirthPlaceImage.Disabled = true;