There are many ways to do this.  One is to keep a member variable of
the child view controller in the parent.  The child view controller
will expose properties to provide the results of the view's data
collection.  Finally the root view controller should override the
ViewWillAppear method and extract the data from the child view.

I have attached a small sample.

-bill

On Fri, Apr 20, 2012 at 6:04 PM, equinoxc <equin...@hotmail.com> wrote:
> New to Monotouch and need help.  Using the Xamarin's MultScreen tutorial are
> reference, how would I pass user entered data back from the child to the
> parent.  Example: In the 2nd Hello World screen, add additional controls - a
> datepicker and text box.  Enter values in these 2 fields.  Hit the "Back"
> button and return the the the first root view.  On this parent view, this is
> a label and a table.  How would this new info be displayed on this parent
> page.
>
> Advice, code and hopefully full solutions (downloadable) would be greatly
> appreciated.
>
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/MultiScreen-Return-value-from-child-to-parent-tp4575408p4575408.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch

Attachment: AppDelegate.cs
Description: Binary data

_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to