ComponentOne ASP.NET MVC Controls
CanExecuteCommand Property

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

Reference

MenuCommand Class
MenuCommand Members