[b]Solutions:[/b]
I created two macros.... one for adding the revision number on demand (selected project and press of a button) and the other one will write it every time the build command is called.
for the macro code click Read more....
UseSubmitBehavior="False"
So it looks like:
"The problem wasn't that it didn't do a postback. That it did. What it didn't do was hit the server side event (the button click event)."
ErrorMessage="invalid name" ControlToValidate="txtLName" Display="None" ValidationExpression="^([ \u00c0-\u01ffa-zA-Z'])+$"> ItemCollection i = new ItemCollection();
i.LoadAll();
this.ddlItemType.DataSource = i;
this.ddlItemType.DataTextField = ItemMetadata.PropertyNames.Description;
this.ddlItemType.DataValueField = ItemMetadata.PropertyNames.ItemTypeID;
this.ddlItemType.DataBind();
if you add this after the databind it will add a list item at index zero (pre-selected)
ListItem li = new ListItem("select one ", "");
this.ddlItemType.Items.Insert(0,li); Demo of the Easy EasyObjects after the break :)<!--Break-->
private int[] commaStrToArray(string strIntComma)
{
string [] strArray;
strArray = strIntComma.Split(new char[] {','});
int [] intArray = new int [strArray.Length];
for (int i = 0; i < strArray.Length; i++)
intArray[i] = int.Parse(strArray[i]);
return intArray;
}