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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

responsive UI

Thread ID:

Created:

Updated:

Platform:

Replies:

119933 Aug 15,2015 05:42 PM UTC Aug 19,2015 07:32 AM UTC WPF 5
loading
Tags: SfSchedule
issam
Asked On August 15, 2015 05:42 PM UTC

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

issam
Replied On August 15, 2015 05:51 PM UTC

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

Vigneshkumar Ramasamy [Syncfusion]
Replied On 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


Vigneshkumar Ramasamy [Syncfusion]
Replied On 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


issam
Replied On August 18, 2015 12:33 PM UTC

thanks for the tip ,

really appreciate !

Vigneshkumar Ramasamy [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;