Search found 998 matches

Go to advanced search

by JS-Support @Userware
Mon Sep 07, 2015 7:30 am
Forum: Bug Reports
Topic: Button Click does not work if Button not in Canvas [SOLVED]
Replies: 9
Views: 3630

Re: Button Click does not work if Button not in Canvas

Hello again,

To ensure that your issue is properly fixed in the upcoming Beta 5, can you please post here the portion of your XAML code that doesn't work as expected, so that we can test it?

Thank you.

Regards,
JS-Support
by JS-Support @Userware
Sun Sep 06, 2015 11:27 pm
Forum: Bug Reports
Topic: Button Click does not work if Button not in Canvas [SOLVED]
Replies: 9
Views: 3630

Re: Button Click does not work if Button not in Canvas

Hello, The issue happens when multiple UI elements are contained inside a single Grid cell. In this case, the element that has the higher ZOrder takes all the mouse events. A workaround is to place only one element in each Grid cell. You can add columns and rows to ensure that the button has no othe...
by JS-Support @Userware
Sun Sep 06, 2015 10:37 am
Forum: Bug Reports
Topic: XmlReader.MoveToFirstAttribute
Replies: 1
Views: 1156

Re: XmlReader.MoveToFirstAttribute

Thanks CyborgDE for reporting this. We have also experienced issues with the methods of the XmlReader class when translated to JS. We are going to work on them. I will keep you updated of the progress.

Regards,
JS-Support
by JS-Support @Userware
Sun Sep 06, 2015 10:35 am
Forum: Bug Reports
Topic: Error in cast delegate
Replies: 1
Views: 1231

Re: Error in cast delegate

Thanks a lot Uwe for reporting this. It seems to be an error related to JSIL and/or Mono.Cecil. We are going to look into it and keep you updated.

Regards,
JS-Support
by JS-Support @Userware
Sun Sep 06, 2015 10:30 am
Forum: Bug Reports
Topic: StreamWriter not working with Memory Stream
Replies: 1
Views: 1351

Re: StreamWriter not working with Memory Stream

Hello,

Thanks for reporting this issue. We have taken note of it and are going to work on it. I will keep you updated of the progress.

Regards,
JS-Support
by JS-Support @Userware
Sun Sep 06, 2015 10:28 am
Forum: Bug Reports
Topic: Error testing final version
Replies: 1
Views: 1286

Re: Error testing final version

Hello peraca and welcome to the forums.

Can you please send us your test VS project including the "bin" output folder?

To do so, you can either attach it to this thread, or you can send it to: support@cshtml5.com

Thanks a lots,

Regards,
JS-Support
by JS-Support @Userware
Sun Sep 06, 2015 10:26 am
Forum: Bug Reports
Topic: Button Click does not work if Button not in Canvas [SOLVED]
Replies: 9
Views: 3630

Re: Button Click does not work if Button not in Canvas

Hello,

Thanks for reporting this issue. It will be fixed in Beta 5, expected before the end of September.

Regards,
JS-Support
by JS-Support @Userware
Fri Aug 28, 2015 1:00 am
Forum: General Discussion and Other
Topic: Runtime
Replies: 1
Views: 2183

Re: Runtime

Hello, At the moment there is no runtime built-in support for turning strings containing XAML code into instances of UI elements. XAML parsing is currently done by the compiler. However, it is possible to dynamically create new instances of UI elements via C# code (such as "border.Child = new B...
by JS-Support @Userware
Tue Aug 25, 2015 10:06 am
Forum: Technical Support
Topic: Can not cache the js Files
Replies: 1
Views: 1522

Re: Can not cache the js Files

Thanks for reporting this issue. We are going to investigate it.

I will keep you updated as soon as possible.

Regards,
JS-Support
by JS-Support @Userware
Thu Aug 20, 2015 5:11 am
Forum: Bug Reports
Topic: [SOLVED] Visual Studio Post Build event raised too early
Replies: 4
Views: 2179

Re: Visual Studio Post Build event raised too early

Hi and welcome to the forums.

Thanks a lot for reporting this issue. We were successfully able to reproduce it. We are going to fix it in a future release, hopefully in the Beta 6 (Beta 5 is expected for September).

I will keep you updated when the issue is fixed.

Regards,
JS-Support
by JS-Support @Userware
Thu Aug 20, 2015 4:54 am
Forum: Bug Reports
Topic: Error in char[i++]
Replies: 1
Views: 1181

Re: Error in char[i++]

Hello,

Thanks a lot for reporting this issue.

I have added it to our backlog. We are going to fix it asap.

Regards,
JS-Support
by JS-Support @Userware
Thu Aug 13, 2015 8:22 am
Forum: General Discussion and Other
Topic: Adding missing function
Replies: 5
Views: 3372

Re: Adding missing function

Hello, Not directly, but you can implement the missing function in C# using an empty CSHTML5 project, then look at the generated JS code (in the "Output" directory), and then copy/paste that generated code into the JS libraries. You will need to modify the methods signature to match the st...
by JS-Support @Userware
Thu Aug 13, 2015 6:53 am
Forum: General Discussion and Other
Topic: Adding missing function
Replies: 5
Views: 3372

Re: Adding missing function

Hi Uwe, Here is what you can do with the current Beta 4 to implement missing .NET Mscorlib features: 1) Modify your ".CSPROJ" file and add the following line: <IgnoreUnsupportedMethodsErrors>True</IgnoreUnsupportedMethodsErrors> This will stop the compiler from complaining about non-implem...
by JS-Support @Userware
Thu Aug 13, 2015 4:04 am
Forum: General Discussion and Other
Topic: Adding missing function
Replies: 5
Views: 3372

Re: Adding missing function

Hello, Thanks for your message and welcome to the forums. At the moment you can only create workarounds like the static function that you mentioned, and change the calling code to call that function instead. In a few months (late 2015 or early 2016) we are going to open up development so that anyone...
by JS-Support @Userware
Wed Aug 12, 2015 6:50 am
Forum: Technical Support
Topic: Accessing the host .html file [SOLVED]
Replies: 4
Views: 2211

Re: Accessing the host .html file

Thanks. It is a Pro feature. On the website it is currently written "Coming soon: Extensibility: embed JavaScript in C#, embed HTML in XAML" under the "Pro" section, but it will be made more obvious in a future beta when the feature will be fully supported.
by JS-Support @Userware
Tue Aug 11, 2015 7:07 am
Forum: Technical Support
Topic: Accessing the host .html file [SOLVED]
Replies: 4
Views: 2211

Re: Accessing the host .html file

Hi Sylvain and welcome to the forums, There are many ways to access the div. One of them is to use the powerful "JSIL.Verbatim.Expression" method that lets you insert raw javascript code anywhere in your C# code. Here is an example: if (CSharpXamlForHtml5.Environment.IsRunningInJavaScript)...
by JS-Support @Userware
Thu Aug 06, 2015 9:35 am
Forum: Technical Support
Topic: System.ComponentModel.DataAnnotations [CLOSED]
Replies: 1
Views: 1295

Re: System.ComponentModel.DataAnnotations

Hi Hasell, Yes, DataAnnotations are on the roadmap for mid 2016. To get them implemented faster, please vote on the following page: http://cshtml5.uservoice.com/forums/274799-c-xaml-for-html5-feature-requests/suggestions/9204063-add-support-for-system-componentmodel-dataannotati Thanks, Regards, JS-...
by JS-Support @Userware
Thu Aug 06, 2015 1:23 am
Forum: Bug Reports
Topic: System.Collections.Generic.ISet
Replies: 2
Views: 1663

Re: System.Collections.Generic.ISet

Hi hasell, Thanks for your message and welcome to the forums. The current beta has issues with the HashSet<T> class. We are working on it and hope to have it fixed in the next beta or the one immediately after. In the meantime, would it be possible for you to use Dictionary<T,T> as a temporary worka...
by JS-Support @Userware
Fri Jul 31, 2015 3:16 am
Forum: General Discussion and Other
Topic: Mapping
Replies: 8
Views: 7487

Re: Mapping

Hi NickA, welcome to the forums. Yes, you can use any JavaScript mapping library of your choice. Please find below a tutorial to use the ArcGIS mapping library ( https://developers.arcgis.com/javascript/ ) in your CSHTML5 project: 1) Download and install CSHTML5 if you have not done so already 2) Op...

Go to advanced search

 

 

cron