I GOT TO SAY IT IN CAPS...
I FREAKING LOVE THIS CMS SO FAR!!
.... Im using the trial.... but not for long :) I will be telling the powers that be, that this is the way to go... the only way to go..
Guys well done, this has to be the one of if not the most developer friendly CMS's out there.
Ok back on topic
I used this and it worked very well
Public Overrides Sub OnAfterInsert(ByVal treeNodeObj As Object, ByVal parentNodeId As Integer, ByVal tree As Object)
'INSERT YOUR CUSTOM AFTER-INSERT CODE
Dim NewDocument As TreeNode = treeNodeObj
If NewDocument.NodeClassName = "Mosaicholidays.Resort" Then
NewDocument.SetIntegerValue("ParentCountryID", NewDocument.Parent.GetIntegerValue("CountryID"), False)
End If
End Sub