Hey guys, So I'm using Monotouch.Dialog to create a list of items based on objects returned from a web service. I'm making them as RootElements and then creating a single section below them with HTMLElements, so the user can drill down. I need to store IDs with both these RootElements and HTMLElements, because I want the user to be able to delete an item from the list and have it call back to the web service and have the item deleted on the server. In order to do that, I need to somehow have the ID of the object tag along with the RootElement and the HTMLElement.
I've tried a number of things, including creating a RootElementWithID super-class that includes an ItemID property, but when I try access it in the CommitEditingStyle of the datasource, it comes out as a basic StringElement without my custom class's ItemID. I've tried adding a property on the dialog itself with an array of IDs... Has anyone else had to wrangle with this or have a sample? Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Retrieving-IDs-with-Monotouch-Dialog-tp3889303p3889303.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
