asp.net.ph

FormView.BackImageUrl Property

System.Web.UI.WebControls Namespace   FormView Class


.NET Framework version 2.0

Sets or retrieves the URL of an image to display in the background of the FormView control.

Syntax


Inline <formview backimageurl = strUrl ... >
Script FormView.BackImageUrl = strUrl

Property Value


strUrl String specifying the URL of an image to display in the background of the FormView control.

The property is read/write with no default value.

Remarks

Use the BackImageUrl property to specify an image to display in the background of the FormView control.

NOTE: If the specified image is smaller than the FormView control, the image will tile to fill in the background of the control.

Example

The following example demonstrates how to set the BackImageUrl property at design time to specify a background image for the FormView control.

<asp:formview id = "categorySpecs" runat = "server"
   datasourceid = "categories"
   width=80% cellpadding=5
   backimageurl = "~/shared/images/gradient-body.gif"
   ...
/>
FormView DataBound Event Example
Run Sample | View Source

See Also

FormView 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