We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

responsive UI

hi,

it's not closely related to Syncfusion controls but some sort of :)
i have prepared this sample to illustrate the case study


as you can see the first time i navigate to a view there is a little lag especially when accessing views that contains complex controls like the scheduler .
 but after that the navigation become completly fluid 

my ultimate goal is to have this fluid navigation from the beining

i have tried some technques based on other forums like storing the views as staticresources but it didnt work really

i am looking for some ideas to instantiate differents views, render them offline/... ? etc  during applcation launch to have a completely fluid navigation when the app is ready


any help is welcome

Attachment: TestFluidUI_5a19fe79.zip

5 Replies

IS issam August 15, 2015 05:51 PM UTC

ps : the attached zip file and the hyperlink file are identical .


VR Vigneshkumar Ramasamy Syncfusion Team August 17, 2015 01:01 PM UTC

Hi Issam,

Thanks for using Syncfusion product.

We are analyzing on your requirement .We will update you with the details in one business day (August 18).We appreciate your patience until then.

Please let us know if you have any concerns.

Regards

Vigneshkumar R



VR Vigneshkumar Ramasamy Syncfusion Team August 18, 2015 12:10 PM UTC


Hi Issam,

Thanks for your patience.

We have analyzed on your requirement of rendering the user control much faster, if you give the content as control inside the button click it will take time to load in the beginning. In order to overcome this delay, load the control when main window loaded and make the control visibility as hidden. In button click by making the control visibility as visible we can render the control faster. We have modified the same sample to achieve your requirement. Please find the sample in the below link.

Sample Link: TestFluidUI

Notes:

In the above sample we have used below code snippet to load the control and making it visibility as hidden.

public MainWindow()

        {

            InitializeComponent();

            Loaded += MainWindow_Loaded;

        }


        void MainWindow_Loaded(object sender, RoutedEventArgs e)

        {

            cc.Content = view3;

            view3.Visibility = Visibility.Hidden;

        }


We have used below code snippet to making control visibility as visible when clicking the button.

if (cc.Content != view3)

                    {

                        cc.Content = view3;

                    }

                    view3.Visibility = Visibility.Visible;

Please let us know if you have any concerns

Regards

Vigneshkumar R



IS issam August 18, 2015 12:33 PM UTC

thanks for the tip ,

really appreciate !


VR Vigneshkumar Ramasamy Syncfusion Team August 19, 2015 07:32 AM UTC

Hi Issam

Thanks for the update. Please let us know if you require further assistance on this.

Regards

Vigneshkumar R


Loader.
Live Chat Icon For mobile
Up arrow icon