asp.net.ph

HtmlInputImage.Src Property

System.Web.UI.HtmlControls Namespace   HtmlInputImage Class


Sets or retrieves the source of the image file to display.

Syntax


Inline <input type=image src = strUrl ... >
Script HtmlInputImage.Src [ = strUrl ]

Property Value


strUrl String that specifies the path to an image file to display.

The property is read/write with no default value.

Remarks

Use this property to specify the path to the image file to display. If the image file is in the same directory as the Web page that uses it, simply specify the file name. Otherwise, include the path to the file.

This property is similar in function to HtmlImage.Src.

Example

The below code shows how to declaratively set the Src property of an HtmlInputImage control at design time.

<input type=image src="myPix.jpg" border=0 runat="server" ... >
See Also

HtmlInputImage Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph