Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Navigation from code behind page in Silverlight-5 (Tricky)

$
0
0

Hello All,

Actually i have a condition where i need to call Navigation Frame from other project (Where Frame in not defined).

I want to navigate to other page when confirmation box clicked, It should be achieved from View Model or Code Behind page.

Please see the below snap shot to understand my situation:

As you can see the above image: Frame is defined under project ABB.Web.GSC.Client inside MainShell.xaml,

and i want to access Frame from project: ABB.Web.GSC.Client.View from GSCXnaSurfaceBox.xaml. 

Note: I already have reference of Client.View project into Client project, So we can not add reference of Client in Client.View project.

As per above snap shot, You can see a btnSentRFQ event which will be triggered on button click event and after showing the confirmation dialogue i need to navigate from current page to "Order.xaml"

How to achieve it? As i have goggled and observed i need the reference of Frame object to navigate... Please suggest me some solution on this asap.

Thanks in advance. 


Viewing all articles
Browse latest Browse all 1083


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>