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.
Somehow Javascript complaint about Unterminated string constant when I tried to add a line break (\n) into a string variable. If viewed in source, it looks alright. After all, do something like that fix that problem:
When using ORM, after we have setup the business objects, it's useful if we create some generic methods which can be used in many places.
Sometimes, somehow Telerik controls might suddenly not appear in Visual Studio's toolbox. A quick solution would be mouse hover to toolbox, add a new tab, and then choose items. Then point to the Telerik bin file (Telerik.Web.UI) and that should populate all controls into the toolbox.
Telerik ORM (Open Access Mapping) has been a very useful tool, for mapping database structures into object oriented classes, so called Persistent Classes. This saves a lot of efforts in writing up these classes manually. What's more we could add on to it is to use generic methods on standard adding and deleting transaction.
Applying security for a web application is a very common task. There are always parts on a web site that requires private only access for members. Recently, I tried to use the form authentication method provided by .NET and found it quite simple to use, though I have always done it with sessions. The