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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to load local .css file in web view in winrt c#

Thread ID:





130213 Apr 28,2017 06:01 AM UTC May 2,2017 12:39 PM UTC WinRT 1
Tags: General
Asked On April 28, 2017 06:01 AM UTC

I have one .html file , respective .css file and some images in local folder. If i open this .html file in any browser then it's working fine (.css and all images are showing properly). But when i open this in my winrt 8.1 app , only html file is getting load to webview. css and all images is not getting load in my webview.

my code is below:

private async void Button_Click_1(object sender, RoutedEventArgs e)
      string filename = "myfile.xhtml";
      Windows.Storage.StorageFile sampleFile = await ApplicationData.Current.LocalFolder.GetFileAsync(filename);
      string str=await PathIO.ReadTextAsync(sampleFile.Path);

Vijayalakshmi Roopkumar [Syncfusion]
Replied On May 2, 2017 12:39 PM UTC

Hi Manoranjan

Thank you for using Syncfusion Product.

We are not able to understand the reported query clearly. Could you please confirm us whether you are facing this reported problem with any Syncfusion Controls? If so, kindly share us the details of Syncfusion controls used in your application. So that, we can analyze and provide prompt solution at the earliest.

Vijayalakshmi V.R.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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