I’m trying to make a custom field based on TreeListEx field, in reference to how a custom field was made using TreeList in this article:
http://sdn.sitecore.net/Scrapbook/Custom%20TreeList%20that%20supports%20query.aspx
Basically I need to be able to enable query syntax in the source field. Is there anyway to do this?
OK – so, solved this one. ItemID is not available in the treelistex class as a property, but it is available as a value, and that value is in viewstate. So all you really need to do is expose the viewstate in an itemID property, and use it just like in the treelist control.