Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Παρουσίαση με Ετικέτες

Όλες οι Ετικέτε... » HowTo » ASP.net » Posts » MVC   (RSS)
  • HowTo: Reset browser cache of CSS files upon ASP.net MVC app publish

    On an ASP.net MVC webapp I’m maintaining, I had the issue that due to caching of older CSS (stylesheet) files in the browser, if the user didn’t press F5/refresh, it wasn’t showing you some message (since I had added the class .center-horiz-vert in the CSS that didn’t exist in the older cached css the browser […]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Οκτωβρίου 18, 2019
  • HowTo: change color of validation messages in ASP.net MVC

    If you need to customize the colors (or do more restyling) of validation messages in ASP.net MVC, the following snippet from a discussion on ASP.net forums should be useful: Add to Content/Site.css: /* styles for validation helpers */ .field-validation-error {     color: #b94a48; } .field-validation-valid {     ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Νοεμβρίου 2, 2018
  • HowTo: include MVC model property Display name in Required validation message

    Just came across this validation error display in an MVC app I’ve recently started maintaining. The required input field validation seemed to not be localized, resulting in a mixed English and Greek (from the field’s Display name) message: Looking at the MVC model I noticed they were using [Required] attributes for the userName and password ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Οκτωβρίου 4, 2018
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems