ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MenuCommand Class / CanExecuteCommand Property

In This Topic
    CanExecuteCommand Property
    In This Topic
    This method returns a Boolean value that determines whether the controller can execute the command.
    Syntax
    'Declaration
     
    
    <JsonAttribute("canExecuteCommand")>
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property CanExecuteCommand As String
    [Json("canExecuteCommand")]
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public string CanExecuteCommand {get; set;}
    Remarks
    If this method returns false, the menu option is disabled.
    See Also