Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / CreateButtonEventArgs Class / DisabledImgUrl Property
Example


In This Topic
    DisabledImgUrl Property
    In This Topic
    Gets or sets the URL of the image to display in the command button if the button is unavailable.
    Syntax
    'Declaration
     
    
    Public Property DisabledImgUrl As String
    'Usage
     
    
    Dim instance As CreateButtonEventArgs
    Dim value As String
     
    instance.DisabledImgUrl = value
     
    value = instance.DisabledImgUrl
    public string DisabledImgUrl {get; set;}

    Property Value

    String containing the URL of the image
    Remarks

    The image file can be located anywhere that can be defined by a URL path.

    Tip: Because only files that are part of the project are deployed with the application, we recommend that you add the image file for the button to your project.

    Use the EnabledImgUrl property to specify the image to display in a command button if the button is active.

    Example
    This example sets the image to display if the Update button is disabled.
    See Also