locked
is this the correct way of navigating pages RRS feed

  • Question

  • hi, i created a sample application, it has a login page, master page and two other pages. i navigated through pages using navigationFrame. all i want to know is whether i coded the navigation functionality properly or not.

    download my application from the following link.

    http://hotfile.com/dl/40361743/2f33c5d/SLMasterPage.rar.html

    Thursday, April 29, 2010 2:40 AM

Answers

All replies

  • Hi,

    Your navigation logic is not a preferred way!! Your Page 1, Page 2 not supports browser next & back buttons

    You should check this link

    http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx

    My demo : http://www.megaupload.com/?d=IT1STWQ2

    HTH Smile

    Regards

    Viral Patel.

    (Please remember to mark the replies as answers if they help and unmark them if they provide no help.)  


    Thursday, April 29, 2010 7:46 AM
  • hi viral0028, well im also using a navigationFrame to display the page by assigning the page content to it.

    in case if dont want to maintain any browser history then is there any other way of navigating from one page to another?

    Thursday, April 29, 2010 8:27 AM
  • dude, i tried in your way and its working but what is the difference between

     

    frameMaster.Content = new Users(); //myway


    and

    frameMaster.Navigate(new Uri("/Users.xaml", UriKind.Relative)); //yourway
     

    we can use both rite ?

    which one is faster ?

    which one is rite way of using ?

    Thursday, April 29, 2010 8:34 AM
  • How about SEO purpose?

    Yes You can use it, but not a it's not a preferred way, still sliverlight-3,4 supports navigation framework

    I should say Sliverlight Navigation framework is a right way.

    Regards

    Viral Patel.

    (Please remember to mark the replies as answers if they help and unmark them if they provide no help.)  

     


    Thursday, April 29, 2010 9:04 AM
  • dude, i tried your way but still it doesnt maintain any browser history as i have a navigationFrame inside another navigationFrame. in this case how do i do it.
    Thursday, April 29, 2010 12:25 PM
  • thanks for all you replies dude. my project doesnt need any SEO. anyway your demo application was helpful.
    Friday, April 30, 2010 12:39 AM