Friday, 01 May 2009 |
Filed in:
Tools
Have been playing a lot with a number of WYSIWYG text editors, such as RadEditor and many other free ones, but the one that I liked the most would be FCKEditor, which is open source editor, written in Javascripts and support a wide number of languages like PHP, ASP, JAVA, .NET, CFM, etc. It's extremely easy to integrate, especially in .NET
A very handy function to grab any query string using Javascript:
A very handy tool to compress the annoying webresources.axd script.
http://madskristensen.net/post/Compress-WebResourceaxd-in-ASPNET.aspx
Enterprise Library is a very useful component developed by Microsoft to help developers solving many common tasks. One that I use a lot is the data access block, which allows you to run data access query in just one line of code! (Saves all the work in writing a command and pass to a reader, etc).
How to convert data to xml file? Here is a very useful command to convert dataset or datatable to an XML Document:
When using ORM, should always keep in mind that only one object scope is used. The example came with the package doesn't really explain this well. Should always declare a page_init call which declares the object scope and store it in session and try to keep using it for any business operations:
For a method or properties to be overridable, it must has a virtual property in its base class set as true as well, is final must be set as true. To determine whether a method is overridable, it is not sufficient to check that IsVirtual is true.
I stumbled upon an error when deploying a web application onto IIS7 running on Vista. After days of trying to solve, it's actually due to the fact that the application is set to medium trust but it actually needs Full Trust due to using Reflection in the code.
Telerik's RadUpload control doesn't come with many documentation. The default comes with multiple file slots, with add and delete button but sometimes we might only need just one uploader.