Search found 1142 matches

Go to advanced search

by JS-Support @Userware
Tue Oct 25, 2016 12:25 am
Forum: Technical Support
Topic: LoadJavaScriptFile from https / running website from http ?
Replies: 1
Views: 3732

Re: LoadJavaScriptFile from https / running website from http ?

Dear Péter, The answer is not specific to CSHTML5. It depends on whether in HTML you can do that or not. It may be worth doing more research on the subject, but I think it is ok to load an "https" script from an "http" page, while the contrary is not possible. As I said though, t...
by JS-Support @Userware
Tue Oct 25, 2016 12:18 am
Forum: Technical Support
Topic: XAML and ASP.NET?
Replies: 1
Views: 3636

Re: XAML and ASP.NET?

Dear MulleDK19, Thanks for your message. You can put the output of a CSHTML5 application into an ASP.NET page. To do so, create a new CSHTML5 application project, write your XAML there, compile it, then copy the JS files located in the "bin/Debug/Output" folder into your ASP.NET applicatio...
by JS-Support @Userware
Tue Oct 25, 2016 12:08 am
Forum: Technical Support
Topic: Is it possible to build HTML/JS code WITHOUT running Simulator ?
Replies: 4
Views: 6833

Re: Is it possible to build HTML/JS code WITHOUT running Simulator ?

Thanks a lot Michael.

Yes, this will be available from the command line as well (by calling "msbuild.exe PROJECTNAME.csproj").

Regards,
JS-Support
by JS-Support @Userware
Tue Oct 25, 2016 12:07 am
Forum: Technical Support
Topic: Include in example of Calculator sample the native wpf calculator?
Replies: 1
Views: 3805

Re: Include in example of Calculator sample the native wpf calculator?

Hi, Please find attached a WPF version that I just created from the CSHTML5 version. This is how I did it: 1) Created new WPF application project 2) Copied PaperTrail.cs and changed the namespaces until it compiled properly. 3) Copied the content (without the "usings") of "MainPage&qu...
by JS-Support @Userware
Fri Oct 21, 2016 10:33 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 10.2 of C#/XAML for HTML5 released
Replies: 5
Views: 12675

Beta 10.2 of C#/XAML for HTML5 released

Dear CSHTML5 users, We are pleased to inform you that the Beta 10.2 of CSHTML5 is available for download! You will find it in the "Attachments" section after this message. Here is what's new since Beta 10.1: ⋅  40% improved runtime UI performance! ⋅  New performance pro...
by JS-Support @Userware
Thu Oct 20, 2016 2:10 am
Forum: Technical Support
Topic: Visual Studio : debug or release build ? -does it make any difference regarding output result ?
Replies: 2
Views: 4997

Re: Visual Studio : debug or release build ? -does it make any difference regarding output result ?

Dear Péter,

No, at the moment there is not much difference. This is on our to-do list for release in the coming months.

Thanks.
Regards,
JS-Support
by JS-Support @Userware
Thu Oct 20, 2016 2:09 am
Forum: Technical Support
Topic: [SOLVED] comboboxitem problem
Replies: 6
Views: 9693

Re: comboboxitem problem

Hi and welcome to the forums.

Thanks for the report.

We are going to investigate.

In the meantime, please add the items programmatically (ComboBox1.Items.Add(myItem) or ComboBox1.ItemsSource = myCollection).

I'll keep you updated.
Thanks.
Regards,
JS-Support
by JS-Support @Userware
Thu Oct 20, 2016 2:06 am
Forum: Bug Reports
Topic: [Q1-Q2 2018] very slow startup time of CSHTML5
Replies: 4
Views: 8207

Re: very slow startup time of CSHTML5

Dear Péter, - We are working on performance improvement right now. Please expect significant performance gains in the coming weeks. - JSIL Browser.js: I think it is misleading: even though it appears to come from this file, the slowness is likely elsewhere. - To make it easier to pinpoint the cause ...
by JS-Support @Userware
Wed Oct 19, 2016 1:25 am
Forum: Technical Support
Topic: is it possible to use more CPU cores to speed up the building process ?
Replies: 2
Views: 4579

Re: is it possible to use more CPU cores to speed up the building process ?

Dear Péter,

We are going to see if it is possible to parallelize some portions of the compiler. Thanks for the suggestion.

Regards,
JS-Support
by JS-Support @Userware
Wed Oct 19, 2016 1:24 am
Forum: Technical Support
Topic: Is it possible to build HTML/JS code WITHOUT running Simulator ?
Replies: 4
Views: 6833

Re: Is it possible to build HTML/JS code WITHOUT running Simulator ?

Dear Péter,

The ability to compile to JS/HTML directly during the build process rather than from the Simulator will be available in a few weeks. (Note: The overall compilation time will not be much shorter though).

Thanks.
Regards,
JS-Support
by JS-Support @Userware
Mon Oct 17, 2016 9:45 am
Forum: Bug Reports
Topic: Desktop mode: HorizontalAlignment="Center" broken in browsers?
Replies: 3
Views: 6293

Re: Desktop mode: HorizontalAlignment="Center" broken in browsers?

Oh, sorry, you are right. I thought you were referring to the alignment of the children of the Canvas. My mistake.

We are going to investigate this bug. I'll keep you updated asap.

Thanks a lot.
Regards,
JS-Support
by JS-Support @Userware
Sat Oct 15, 2016 11:46 am
Forum: Technical Support
Topic: using jQuery v2.2.3 ?
Replies: 2
Views: 4442

Re: using jQuery v2.2.3 ?

Q1: is it possible to use jQuery with CSHTML 5 v2.2.3 as external js lib (by Interop.LoadJavaScriptFile(...))? Is there any conflict with your 'build in' libraries ? e.g. velocity.js with jQuery Shim (1.0.1)? Yes it is possible. There is not going to be any conflict with the build in libraries beca...
by JS-Support @Userware
Sat Oct 15, 2016 11:42 am
Forum: Bug Reports
Topic: Desktop mode: HorizontalAlignment="Center" broken in browsers?
Replies: 3
Views: 6293

Re: Desktop mode: HorizontalAlignment="Center" broken in browsers?

Hi Cnayan, Welcome to the forums. In the Microsoft XAML standard, the horizontal and vertical alignments are ignored in a Canvas. Items in a Canvas can only be positioned based on their Left/Top position. You need to use a Grid instead. What is not normal is that setting vertical alignment affects h...
by JS-Support @Userware
Sat Oct 15, 2016 11:39 am
Forum: Bug Reports
Topic: javascript named function bug if declared by ExecuteJavaScript
Replies: 2
Views: 5059

Re: javascript named function bug if declared by ExecuteJavaScript

Thanks Péter. We are going to investigate.

In the meantime, a workaround is to add the function to an object such as Document:

Interop.ExecuteJavaScript("document.myFunction = function() { ... }");

Regards,
JS-Support
by JS-Support @Userware
Fri Oct 14, 2016 3:56 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 29987

Re: custom control or UserControl vs 3rd party javascript library as e.g. jQuery

Hi Péter,

By "please let me know", I mean please let me know what you need to pass to "SetHtmlRepresentation" that requires a script to be loaded before.

Thanks.
Regards,
JS-Support
by JS-Support @Userware
Fri Oct 14, 2016 3:26 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 29987

Re: custom control or UserControl vs 3rd party javascript library as e.g. jQuery

Hi Péter, - Even though "SetHtmlRepresentation" is done in the constructor, the string you pass to it is used only later when the element is added to the Visual Tree. - Additionally, the string you pass to "SetHtmlRepresentation" usually does not contain anything that requires pa...
by JS-Support @Userware
Wed Oct 12, 2016 4:37 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 10.1 of C#/XAML for HTML5 released
Replies: 5
Views: 10567

Re: New Beta 10.1 released! [Download]

Dear randco, Thanks for the additional information. It did indeed help pinpoint the cause of the issue. I have updated the original post with a now-documented regression: "For accurate margins, you need to set the 'Margin' property BEFORE adding an element to the Visual Tree rather than after.&...
by JS-Support @Userware
Wed Oct 12, 2016 4:32 am
Forum: Bug Reports
Topic: SetHtmlRepresentation(this, string htmlRepresentation) doesn't tolerate spaces or control characters
Replies: 2
Views: 4973

Re: SetHtmlRepresentation(this, string htmlRepresentation) doesn't tolerate spaces or control characters

Thanks Péter, we are going to do as you recommended. I'll keep you updated.

Regards,
JS-Support
by JS-Support @Userware
Tue Oct 11, 2016 6:07 am
Forum: Bug Reports
Topic: a TabControl bug
Replies: 5
Views: 8657

Re: [SOLVED] a TabControl bug

for your kind information the TabControl is better, but some other bug still exist : ... -can you reproduce the bug ? Hi Péter, Thanks for your message. The TabControl in the sample Showcase application (under the "Controls" section) appears to work fine, as well as those in our tests. Co...

Go to advanced search

 

 

cron