This is a migrated thread and some comments may be shown as answers.

[Solved] Data Storage - Data Between Pages

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
div
Top achievements
Rank 1
div asked on 23 May 2014, 12:57 PM
Hi,

Apologies for basic nature of this post, embarking on first XAML app and want to make sure I'm not headed in completely the wrong direction.

I aim to have two pages, summary and detail. The detail summary page will have the header/sub header fields for all table items (using Telerik Data Storage) laid out in tiles - when a tile a clicked, the detail page should open with all fields for the clicked item.

My initial thought to make this work is

1) Have an onClick event on the tile that changes a variable to the ID of the data item that was clicked, then navigates to the detail page.
2) Have an onNavigatedTo event on the detail page that checks the variable then fetches the corresponding data item

Being that this is my first app, I am not sure what the best practice approach is and would really appreciate suggestions/comments.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 28 May 2014, 11:44 AM
Hi,

From the given information it is not clear if you have successfully applied this approach. As I can see you pass the Id of the selected item as a parameter in the Navigate method and then you get the Id in the OnNavigated event which is a common approach for such scenario.

Please, let me know if I can assist you in some other way.

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
div
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or