Search found 1093 matches

Go to advanced search

by JS-Support @Userware
Thu Dec 05, 2019 6:25 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v1.2.4 released! (updated with hotfix)
Replies: 3
Views: 1488

Re: v1.2.4 released!

HOTFIX: If you have any troubles compiling to JavaScript with the "Silverlight Migration Edition", please download the following hotfix: CSHTML5_v1_2_4_Hotfix_2019_12_05.zip To use it: 1. close visual studio 2. extract the ZIP 3. copy the extracted files into the 2 following folders: C:\P...
by JS-Support @Userware
Tue Nov 26, 2019 7:12 am
Forum: Technical Support
Topic: Window.Current.SizeChanged not working in Edge Chromium
Replies: 6
Views: 571

Re: Window.Current.SizeChanged not working in Edge Chromium

Could you please check the option "Pause on caught exceptions" as shown on the following page: http://www.cshtml5.com/documentation/tips-for-debugging.aspx#javascript and then, when the exception is raised, move up the call stack until you arrive in the code of "CSHTML5.js". Ther...
by JS-Support @Userware
Tue Nov 26, 2019 2:13 am
Forum: Technical Support
Topic: Window.Current.SizeChanged not working in Edge Chromium
Replies: 6
Views: 571

Re: Window.Current.SizeChanged not working in Edge Chromium

Hi, CSHTML5 uses the "onresize" event of the JS "window" class, as shown at line 145 of the "Window.cs" class: https://github.com/cshtml5/CSHTML5/blob/master/src/CSHTML5.Runtime/Windows.UI.Xaml/Window.cs Could you please test the following JSFiddle and report whether th...
by JS-Support @Userware
Tue Nov 26, 2019 2:07 am
Forum: Technical Support
Topic: Free-form input
Replies: 1
Views: 175

Re: Free-form input

Hi, You can do that in may ways, but some manual coding is required. One way is to register the PointerPressed, PointerMove, and PointerReleased events and add segments to a Path control to draw. You can re-use some of the code from the "Drag and Drop" demo in the Showcase app, located at:...
by JS-Support @Userware
Tue Nov 26, 2019 2:03 am
Forum: Technical Support
Topic: Preserve browser orientation on mobile devices
Replies: 1
Views: 186

Re: Preserve browser orientation on mobile devices

Hi,

Adding to the following line to the <header> section of the file "index.html" should do the job:

Code: Select all

<meta http-equiv="ScreenOrientation" content="autoRotate:disabled">


Regards
JS-Support
by JS-Support @Userware
Tue Nov 26, 2019 2:01 am
Forum: Technical Support
Topic: Hide address bar (on mobile devices)
Replies: 1
Views: 174

Re: Hide address bar (on mobile devices)

Hi,

Yes, you can go Full Screen via the following code:

Code: Select all

Application.Current.Host.Content.IsFullScreen = true;


Regards
JS-Support
by JS-Support @Userware
Tue Nov 26, 2019 1:15 am
Forum: Technical Support
Topic: CSHTML5 Control as direct div content
Replies: 1
Views: 219

Re: CSHTML5 Control as direct div content

Hi, Yes, this is possible. 1. First you need to have the native HTML element ready. To do so, you can put a <div> in the file index.html, or you can use the HtmlPresenter control, as documented at: http://www.cshtml5.com/links/how-to-use-the-htmlpresenter.aspx If you use the HtmlPresenter, you need ...
by JS-Support @Userware
Wed Nov 20, 2019 5:29 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v2.0 Preview 0.6 RELEASED!
Replies: 8
Views: 1925

Re: v2.0 Preview 0.6 RELEASED!

Thanks. We are going to look into this. By the way, the replacement for the deprecated method "CSharpXamlForHtml5.DomManagement.GetDomElementFromControl" is "CSHTML5.Interop.GetDiv(control)". You can make changes to the CSHTML5 code base and reference it from your project. Feel f...
by JS-Support @Userware
Mon Oct 28, 2019 8:49 am
Forum: Technical Support
Topic: Microsoft.Practices.Prism (4.1)
Replies: 1
Views: 251

Re: Microsoft.Practices.Prism (4.1)

Yes, the recommended approach is indeed to find the source code and copy/paste it into new projects of type "CSHTML5 Class Library" (or "(Migration Edition) Class Library" if you would like to use the Silverlight/WPF namespaces rather than the UWP ones).
by JS-Support @Userware
Mon Oct 28, 2019 8:47 am
Forum: Technical Support
Topic: Microsoft.Expression.Interaction (5.0.5)
Replies: 2
Views: 318

Re: Microsoft.Expression.Interaction (5.0.5)

Hi, A lot of the "interactivity" source code is now available on GitHub (MIT License) at: https://github.com/jlaanstra/Windows.UI.Interactivity/tree/master/Windows.UI.Interactivity We are working to port some of the code to CSHTML5. What classes in particular do you need the most? Thanks R...
by JS-Support @Userware
Sat Oct 26, 2019 12:42 am
Forum: General Discussion and Other
Topic: Developer Tools' Sources
Replies: 3
Views: 562

Re: Developer Tools' Sources

There must be an issue with the deployment. Could you please share the URL to te est your app? I will let you know if I see any issues with the deployment. As for the question about the password, you shouldn't store the password in the client application. For example, if you need to connect to a dat...
by JS-Support @Userware
Mon Oct 21, 2019 11:31 pm
Forum: Technical Support
Topic: Storyboard by XAML is OK but not Code...
Replies: 6
Views: 643

Re: Storyboard by XAML is OK but not Code...

Nice! Can you please tell us more about that alternative? I'm very curious about it.
by JS-Support @Userware
Fri Oct 18, 2019 3:05 am
Forum: Technical Support
Topic: Storyboard by XAML is OK but not Code...
Replies: 6
Views: 643

Re: Storyboard by XAML is OK but not Code...

Hi KenX and welcome to the forum. Thanks for your compliments about CSHTML5. The issue is due to the fact that we currently do not support complex property paths defined in C# (such as new PropertyPath("(UIElement.RenderTransform).(CompositeTransform.TranslateX)"). You can see in the code ...
by JS-Support @Userware
Thu Oct 17, 2019 3:02 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v1.2.4 released! (updated with hotfix)
Replies: 3
Views: 1488

v1.2.4 released! (updated with hotfix)

Dear CSHTML5 users, The version 1.2.4 of CSHTML5 is now available for download! It contains the same bug fixes and improvements that have been recently introduced in v2.0 Preview 0.6, except that it is still based on the v1.x architecture (ie. it uses the JSIL underlying technology instead of Bridge...
by JS-Support @Userware
Sun Oct 06, 2019 1:51 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v2.0 Preview 0.6 RELEASED!
Replies: 8
Views: 1925

v2.0 Preview 0.6 RELEASED!

Dear CSHTML5 users, We are excited to inform you that the fifth public Preview release of CSHTML5 2.0 - now powered by Bridge.NET - is available for download! IMPORTANT: Before updating any of your existing v1.x projects to v2.x, be sure to make a backup copy first. After updating, please be sure to...
by JS-Support @Userware
Wed Oct 02, 2019 9:30 am
Forum: Technical Support
Topic: [SOLVED] HtmlCanvas: bold text?
Replies: 4
Views: 947

Re: [SOLVED] HtmlCanvas: bold text?

The pull request has just been merged. The fix is now available on NuGet.org (version "2.0.0-alpha48-067").

Thank you for your contribution!
by JS-Support @Userware
Wed Sep 25, 2019 4:13 am
Forum: Technical Support
Topic: [SOLVED] HtmlCanvas: bold text?
Replies: 4
Views: 947

Re: HtmlCanvas: bold text?

Thanks. Please create a GutHub account, then create a fork of the CSHTML5 repository by clicking the "fork" button on GitHub, then clone the fork on your local computer, make the change, commit and push, and the create a Pull Request by following the tutorial at: https://help.github.com/en...

Go to advanced search

 

 

cron