How to navigate to pages

Hello
I just downloaded the Xamarin UI kit and i am using the login page.
How to open the corresponding pages on "forgot password" "sign up" etc?


5 Replies 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team August 18, 2020 06:12 AM UTC

 
Greetings from from Syncfusion. 
 
We have analyzed your query and we have prepared a sample for you reference. Please find the sample from the following location. 
 
  
Steps to make a sample: 
 
·       Create a Xamarin.Forms blank application. 
·       Right click on .Net Standard project. 
·       Add Login, Sign Up and forgot password page with the help of installed Essential UI kit extension.  
·       And add the following line for navigate from one another in ViewModel button clicked method, 
Application.Current.MainPage.Navigation.PushAsync(new Views.Forms.SimpleSignUpPage()); 
 
  
·       Edit App.xaml.cs project 
MainPage = new NavigationPage(new Views.Forms.SimpleLoginPage()); 
 
 
For more details, please refer the following help document 
 
Regards, 
Yuvaraj 


Marked as answer

KK KOUSINOVALIS KOSTAS August 19, 2020 09:18 PM UTC

Thank you you are so great!


YP Yuvaraj Palanisamy Syncfusion Team August 20, 2020 06:10 AM UTC

Hi Kousinovalis kostas,, 
 
Thank you for your update. 
 
Please let us know if you have any concern. 
 
Regards, 
Yuvaraj 



HS Harsh Shah September 8, 2020 04:37 AM UTC

Hi, you have to use  await Navigation.PushAsync(new name of page()); in button click method and in app.xaml.cs page   after InitializeComponent() add this line    MainPage = new NavigationPage(new MainPage()); where MainPage() is refer as root page. refer this article may it help you to understand more about it. navigation


YP Yuvaraj Palanisamy Syncfusion Team September 9, 2020 06:00 AM UTC

Hi Harsh Shah, 
 
Thanks for your update. 
 
Regards, 
Yuvaraj

Loader.
Up arrow icon