Ιούλιος 2013 - Δημοσιεύσεις

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 […]
Δημοσίευση στην κατηγορία: , , , , , ,
Gotcha: Java Calendar class returns 0-based month, but 1-based days
18 Ιουλίου 13 02:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just noticed that the Java Calendar class breaks the least-user-expected rule (that is don’t make something behave in the least expected way) regarding the indexing of the month value it returns, compared to all other indexed variables it can return (like day of year, day of month, day of week etc.). The former is using […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
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: Remove invalid filename characters in .NET
12 Ιουλίου 13 11:28 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In ClipFlair Studio I use DotNetZip (Ionic.Zip) library for storing components (like the activity and its nested child components) to ZIP archives (.clipflair or .clipflair.zip files). Inside the ZIP archive its child components have their own .clipflair.zip file and so on (so that you could even nest activities at any depth) which construct their filename […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , ,

Search

Go

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

Συνδρομές