Gets or sets the URL of the image to display in the command button if the button is unavailable.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property DisabledImgUrl As String  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As CreateButtonEventArgs
Dim value As String
 
instance.DisabledImgUrl = value
 
value = instance.DisabledImgUrl  | 
 
| C# |   | 
|---|
public string DisabledImgUrl {get; set;} | 
 
            
            
            Property Value
String containing the URL of the image
 
            
			
			
            Remarks
            
            
Example
This example sets the image to display if the Update button is disabled.
             
| C# |  Copy Code | 
|---|
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e)
{
bool b;
if(e.Command == "Update")
    {
        b = e.Disabled;
        if(b = true)
        {
            e.DisabledImgUrl = "Images/unchecked.gif";
        }
    }
}
 | 
 
| Visual Basic |  Copy Code | 
|---|
Private Sub FpSpread1CreateButton(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.CreateButtonEventArgs) Handles FpSpread1.CreateButton
    Dim b As Boolean
    If e.Command = "Update" Then
        b = e.Disabled
        If b = True Then
            e.DisabledImgUrl = "Images/unchecked.gif"
        End If
    End If
End Sub | 
 
 
            
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also