Use async method in custom validation attribute in c#
I have an async method that evaluates a field.
I have an async method that evaluates a field.
I am trying to add a custom data-required attribute to an asp Checkbox control, it works fine for all other controls I’ve used it on, but on checkboxs it renders the checkbox inside a span that has the custom attribute on. I’ve tried adding the attribute in the markup and tried adding it to the control in the code behind. Any ideas?
I got a date format like:
In the DB i have Role and User entities with one to many relationship.
How can I retrieve a Button custom attribute after the attribute value has been changed using javascript?
For example—say I want to add a helloWorld() method to Python’s dict type. Can I do this?