Hi Jeremiah,
Are you trying to implement a sort of Login page then, after authentication, do you want to ‘move’ to main page?
Corrado
Think you’re in wrong direction, you have to change rootvisual content, my application uses a navigation system based on this blog and it works great!
In my case, I changed the logic a bit because, after login only the internal area has to change based on navigation but approach is exactly the same
http://www.flawlesscode.com/post/2008/03/Silverlight-2-Navigating-Between-Xaml-Pages.aspx
Corrado
From: wpf-di...@googlegroups.com [mailto:wpf-di...@googlegroups.com] On Behalf Of Jeremiah Morrill
Sent: sabato 29 novembre 2008 10:57
To: wpf-di...@googlegroups.com
Subject: [WPF Disciples] Re: Silverlight + MVVM = More questions
Yeah, specifically here, that's
exactly what I'm trying to accomplish. Generally, I want be able to
"replace one control with another", and of course stick close to
being MVVM. The ContentControl would eventually be replaced with
something that would maybe do a transition when the content changed.
I know some things need a little home-brew TLC in SL (ie Commanding), but I am
left wondering if I'm applying the pattern incorrectly and/or not
leveraging the SL framework. So far, to me, making controls on a lower
level makes a lot of sense, but gluing them together at a higher level is
where my understanding of how to implement MVVM in SL falls apart.
-Jer
On Fri, Nov 28, 2008 at 9:25 PM, Corrado Cavalli <corrado...@gmail.com> wrote:
Another advantage of having the App taking care of the navigation is that it
is able to read query string parameters or even the parameters entered in
the "object" tag, and so a bookmarked navigation is also easy to implement.
Cheers,
Laurent
http://www.flawlesscode.com/post/2008/03/Silverlight-2-Navigating-Betwee
n-Xaml-Pages.aspx
Corrado
-Jer
Hi Jeremiah,
Corrado
great support for this in the SL Extensions <http://slextensions.net>
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.11/1818 - Release Date: 11/28/2008
7:31 PM
Add MarkupExtension class J
-Corrado
From: wpf-di...@googlegroups.com
[mailto:wpf-di...@googlegroups.com] On Behalf Of Paul Stovell
Sent: domenica 30 novembre 2008 04:59
To: wpf-di...@googlegroups.com
Subject: [WPF Disciples] Re: Silverlight + MVVM = More questions
The same guy who also removed:
But they gave us a DataGrid, so
it's OK :)
I am sworn to secrecy ;) but there is a lot in store for Silverlight 3. Patience, grasshoppers, patience…
For the records, the story of triggers in SL is as follows:
· Triggers are apparently really hard to implement, and the team had to give up.
· They implemented VSM instead
· Then they saw that VSM was actually pretty cool
· So now VSM is going to flow into WPF.
· Triggers *should* go into SL some day too, but I wouldn’t hold my breath
The only event trigger that is “supported” is the Loaded event, which is nothing more than a remain from the past (SL1) and so it is recommended not to use it. I usually prefer to trigger the animations in code.
At least, it’s not ActionScript ;)
Laurent
Version: 8.0.176 / Virus Database: 270.9.11/1820 - Release Date: 11/29/2008 6:52 PM