Reset dropdowncontrols, when routing to defaultpage

Hi- I have put 2 dropdowns, as a component, in the mainlayout, but how do I Databind to them?

 - I want them to reset to default values, when click "BlazorApp1" and navigate to /index
 - And the values to stay in the dropdowns when reload page F5 on ie. /counter.

Please see att. solution. 
 

Attachment: BlazorApp1_5e9f102.zip

1 Reply

SP Sureshkumar P Syncfusion Team June 1, 2020 03:56 AM UTC

Hi Soren,  
   
Greetings from Syncfusion support.   
 
We cannot maintain the selected values when refresh the page and reset the value through page navigation. Because we have confirmed the issue (“EnablePersistence is not working for our DropDownList component”) as a bug at our end and this fix will be included in our upcoming patch release scheduled on 17th June 2020. We appreciate your patience until then.  
   
You can track the status of this issue from the below feedback.  
   
Regards,  
Sureshkumar P 


Loader.
Up arrow icon