2009-07-24

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

When creating controls dynamically...

Nice article on "The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases."

http://brennan.offwhite.net/blog/2006/09/01/fixing-errors-in-aspnet-server-controls-plus-that-big-one/

... if you are assembling a hierarchy of controls to build a Table you will follow this sequence:

Create instance of a Table control
Create an instance of TableRow
Create one or more instances of TableCell
Create and add controls to your TableCell Controls collection
Add those TableCell instances to the TableRow Cells collection
Add the TableCell to the Table Rows collection

Now that you have already added the TableCell instances to the Rows collection you cannot add more controls to it at this point. That would result in the above error. Internally the ASP.NET engine must be firing the databinding or other events listed in the error message. Fair enough, I can carefully add things in the right order.

Now my next puzzle. I am still not fully understanding when I should create instances. I have the declarati


CheckBoxList Validation in ASP.Net - Required Field Validator
http://www.codeproject.com/KB/webforms/Validator_CheckBoxList.aspx

2009-07-22

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Shared Cache Libraries

http://sharedcache.codeplex.com
"High-performance, distributed memory object caching system, generic in nature, but intended to speeding up dynamic web and / or win applications by alleviating database load."

Also have a look at following pages:
NCache indeXus.Net

2009-07-16

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

CacheItemRemovedCallBack Tips

How to use the CacheItemRemovedCallBack

ASP.NET Crash: Bad CacheItemRemovedCallback - Part II

2009-07-14

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

ADO.NET vs LinqToSql

Performence difference between ADO.NET and LinqToSql
http://agilior.pt/blogs/pedro.rainho/archive/2008/07/02/4935.aspx

2009-07-09

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Lightweight Test Automation Framework

Lightweight Test Automation Framework June Update is now available for download. This release features several improvements and bug fixes.

Lightweight Test Automation Framework April Release

First steps with Lightweight Test Automation Framework

2009-07-08

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Team System Resources

Team System How Do I Videos
Extend Team Foundation Server To Enable Continuous Integration
Team Foundation Server Build Notification Screen

Wonderful TFS Continous Integration implementation with Nabaztag

2009-07-04

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Validators are easy to write in c#

Creating a Custom Validation Control in ASP.NET

Write a Custom Validator for VAB using Application Block Software Factory

Using Custom Validator to Validate Checkbox