Skip to main content
Tab

ASPxImageBase.LoadingImageUrl Property

Specifies a custom loading image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue("")]
public string LoadingImageUrl { get; set; }

#Property Value

Type Default Description
String String.Empty

A string value that is the URL to the loading image.

#Remarks

Set the ASPxImageBase.ShowLoadingImage property to true to display the loading image while the main image is being loaded. To specify a custom loading image, use the LoadingImageUrl property. Note that to work properly, the image height and width should be specified.

<dx:ASPxImage ID="ASPxImage1" runat="server" ShowLoadingImage="True" ImageUrl="~/Images/MyImage.jpg" LoadingImageUrl="~/Images/LoadingImage.jpg" Height="50px" Width="50px">
</dx:ASPxImage>
See Also