Refresh or Reload Content Page When Selection Changed

Hi,

I have 2 tabitem in tabview, example : tabitem A and tabitem B.

I have a problem when opening content page through selection changed event, The Content Page successfully reloaded when I selected tabitem A or tabitem B for the first time. but when I select tabitem A or tabitem B again, the content page not reload again.
how to solve this problem ?  please help.

I have followed the Link, but not work

this link my sample tabview page.cs

this link my sample page A pageA.cs

this link my sample viewmodel page A pageAViewModel

Regards.

3 Replies

SP Sakthivel Palaniyappan Syncfusion Team July 6, 2020 06:36 AM UTC

Hi Arditaridya,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue of “When I select tabitem again, the content page not reload again” but we could not able to reproduce the issue, please find the sample from below.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/TabViewPage1695170762.zip

Could you please check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Sakthivel P.
 



SA Serediuc Alex October 21, 2021 06:40 AM UTC

Hello, 

I have a similar problem with this. I have a list of objects and if I modify, add or delete an item, the list does not change unless I close and reopen the application or if I use a button with the refresh command. I tried to use refresh view but the page does not appear at all, the respective page in TabView is white and the content is missing. 

When I open the application, all the pages in TabView enter the initialization method, but if I go to another page and come back, it does not enter the initialization method or the constructor and does not take its data.

Regards.



SS Suganya Sethuraman Syncfusion Team October 22, 2021 12:11 PM UTC

Hi Serediuc,

We have checked the reported issue, but we could not be able to reproduce the issue. Please have a sample for your reference,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfTabViewSample204217379

Since we are not aware of your exact application scenario, so we request you to check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. It will help us to provide better solution at the earliest.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon