Hi Julio,
Thanks for using Syncfusion Products,
Query 1: i have a problem with the propriety "Enabled(false)" of the button ; the button color changes (as disabled) but you still can click it and make the submit.
We have analyzed query. We are unable to reproduce the issue “Enabled(false) property is not working”
in the version 13.1.0.30. When we set enabled property as false, its move into disable state and it doesn’t make submit. We have prepared the sample based on this and please find the sample under the following location,
Sample:
Sample
Could you please check the above sample? If still you face the problem, please revert us by modifying the sample based on your application along with replication procedure. Also,
Can you please tell us which version of our product currently you are using? This would be helpful for us to serve you.
Query 2: I would like to know how use this propriety "HtmlAttributes"; if i can change the style or something.
We can apply style for the button by using “HtmlAttributes” property. Please find the below code for using HtmlAttributes,
<code>
@Html.EJ().Button("button1").Text("Click").HtmlAttributes(new Dictionary<string, object> { { "style", "color:red" }, { "autocomplete", "off" } })
</code>
We have included this in the above attached sample. Please let us know if you have further queries.
Regards,
Kasithangam