Click here to Skip to main content
16,007,932 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two pages, first page is having a datagrid control and have some values. I want to display that datagrid control with values into the next page by the click of a button.....
Posted
Updated 25-May-10 1:07am
v2

0) You could create a delegate that points to a method in page #1 and that is called by page #2. the method connected to the delegate could actually return the collection that's bound to the datagrid in page #1.

1) You could make the datagrid global to the application so that any component in your silverlight could be bound to it (or retrieve the data in it).

2) This is the third easily researchable question you've asked in a matter of minutes with no obvious indication that you've actually tried to work these answers out yourself, so that leads to my final suggestion - you could look for another occupation because you're dumber than a bag of hammers.
 
Share this answer
 
If you are using a tool application block like Microsoft Prism you could actually use event aggregators to pass values across views - the recommended approach, however, to use event aggregators is to use them across views within different modules rather than different views within the same module.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900