Hi! I´m currently implementing a PopUp control with a sfListView control in it, in order for me to use it as a menu. The PopUp show as expected and I'm able to select an item from the list.
However, I need to send the data from my selection on the popup page to the parent page.
For example, I call the popup like this from a page:
var menu = new ObjetosModelo(IdModelo, "Org");
await PopupNavigation.PushAsync(menu);
Inside the Menu, I have this method:
public async void listaOpciones_ItemTapped(System.Object sender, Syncfusion.ListView.XForms.ItemTappedEventArgs e)
{
var item = e.ItemData as PopUpItems;
//Organizaciones y modelos
if (Equals(item.Id, "0") && !Equals(TipoObjeto, "Org"))
{
info = new InfoNavegacion
{
IdModelo = IdModelo,
IdReferencia = "0",
IdReferencia2 = "0",
TipoObjeto = "mod",
IdTarea = "0"
};
CloseAllPopup();
}
}
How can I retrieve the "info" data from my page, when the selection is made in the list? I wat to navigate to the selected page, based on the selected item.
I have attached a video with the app running, to help make my point clear haha.
Thanks in advance for your help.
Andres.
Attachment:
PopUp.mp4_b4428b4d.zip