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

HowTo: Reset browser cache of CSS files upon ASP.net MVC app publish
18 Οκτωβρίου 19 01:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
HowTo: Use latest C# features in MVC5 Razor views (.cshtml)
16 Απριλίου 19 03:53 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Having recently updated an ASP.net MVC web app from MVC4 to MVC5 and from .NET 4.5 to .NET 4.7.2 I was expecting Razor views (.cshtml files) to use the latest C# compiler, especially since at Properties/Build/Advanced option for the web project one read “C# latest major version (default)”. However that was not the case and […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: change color of validation messages in ASP.net MVC
02 Νοεμβρίου 18 02:35 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
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 {     display: none; } input.input-validation-error {     border: 1px […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: include MVC model property Display name in Required validation message
04 Οκτωβρίου 18 01:04 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Fix: jQuery’s jqGrid search UI custom styling
03 Οκτωβρίου 18 01:35 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Lately, I’ve got the task of maintaining/extending an ASP.net MVC web application that is using jQuery’s jqGrid for data grids on its UI. First thing I noticed was how confusing the search UI on the grid’s header was: Those symbols on the left-side of each column’s searchbox are for the type of search (e.g. contains, […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Workarround: IE11 changing download file extension to .zip
21 Φεβρουαρίου 18 11:43 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair Gallery, apart from opening a ClipFlair activity in ClipFlair Studio, downloading of an activity (.clipflair) file is also supported. However, because the component serialization file format of ClipFlair Studio is XML plus media assets packed in .zip archive (with nesting allowed, where components and whole activities can be placed in other activities), Internet […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Use WordPress Permalinks on IIS
29 Οκτωβρίου 14 10:28 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://zachis.it/blog/7-dangers-of-using-windows-server-on-a-wordpress-installation/ the thing that guy says about Permalinks isn’t accurate at all (not that the other things that he says are any accurate that is). WordPress Codex have documentation on how to configure URL rewriting in web.config that is necessery for Permalinks to work in IIS. e.g. at http://ClipFlair.net, if you press the "about" […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: use server-side comment, not HTML comment in ASP.net
29 Ιουλίου 13 01:15 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I try to remember to use <%– and –%> instead of <!– and –> for comments in server-side web pages, to avoid having implementation details (for security reasons that is) in the output HTML and to keep the download size smaller / have the pages load faster. What came to me though the other day […]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: Bind ASP.net control to list of files or folders
15 Ιουλίου 13 03:33 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Perform ASP.net action after page child controls are databound
11 Ιουλίου 13 11:57 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While creating metadata entry/update pages for ClipFlair’s Activity and Clip Galleries I had the problem of figuring out how to do some initialization (from XML data, loaded from a filename based on the 1st item of a DataBound control), after all child controls of the ASP.net Page have been databound (from XmlDataSource). Seems others have […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
ASP.net WebPartZone skins and CSS
03 Αυγούστου 12 03:59 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was just examining a MonoX portal skin that our designer is authoring for the ClipFlair platform and noticed that in the Default.skin file, there’s a note pointing to http://support.microsoft.com/kb/911717 that speaks of an issue with Microsoft’s implementation of WebPartZone skins: There it says: The CssClass property does not affect the following style objects: •The [...]
Δημοσίευση στην κατηγορία: , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές