Search found 30 matches

Go to advanced search

by kmatt
Thu Sep 14, 2017 6:05 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 27933

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

I tried this with my control. The problem is that you aren't actually wrapping a javascript visual control, you are setting properties on the HtmlPresenter control or the Xaml Button control, I'm not totally sure. If your InnerHtml had included <button/> code, you would see what I see - a grey butto...
by kmatt
Wed Sep 13, 2017 12:25 pm
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 27933

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

I'm just trying to wrap the Kendo UI javascript/html5 Button element. I tried the Button first thinking it would be simplest and I could use what I learned and extend it to the other Kendo UI components. I want to wrap a number of them including the grid, I was thinking I would release it as an exte...
by kmatt
Wed Sep 13, 2017 8:10 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 27933

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

It happened here: public sealed partial class App : Application { /// <summary> /// Initializes a new instance of the <see cref="App" /> class. /// </summary> public App() { InitializeComponent(); try { var mainPage = new MainPage(); Window.Current.Content = mainPage; <--- Where <Page x:Cl...
by kmatt
Wed Sep 13, 2017 7:23 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 27933

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

FYI, when I inherit from HtmlPresenter: namespace GUI.KendoExtension { public partial class KendoUIButton : HtmlPresenter { ... } } I get: Exception thrown: 'System.InvalidCastException' in CSharpXamlForHtml5.dll Additional information: Unable to cast object of type 'GUI.KendoExtension.KendoUIButton...
by kmatt
Wed Sep 13, 2017 7:04 am
Forum: General Discussion and Other
Topic: Search ability in simulator windows
Replies: 1
Views: 8420

Search ability in simulator windows

PLEASE add the ability to search (Control F and F3) in your simulator windows like "View all JS Code executed by the simulator so far...." and "View current HTML...", etc. Since the results are both generated and minified it is impossible to read the contents of those windows, se...
by kmatt
Tue Sep 12, 2017 5:44 am
Forum: Bug Reports
Topic: [SOLVED] Problem with deserialization in generated javascript
Replies: 7
Views: 13194

Re: Problem with deserialization in generated javascript

Awesome, I saw the new release, thank you!
by kmatt
Thu Sep 07, 2017 6:41 am
Forum: Bug Reports
Topic: [SOLVED] Problem with deserialization in generated javascript
Replies: 7
Views: 13194

Re: Problem with deserialization in generated javascript

Hello?! Is anybody out there working on this?! We cannot run in the browser without a fix for this.
by kmatt
Thu Sep 07, 2017 6:18 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 20
Views: 27933

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

I have an example I need this type of functionality for. I am trying to subclass the Kendo UI controls, I'm starting with button using MVVM. The actual button gets instantiated in xaml like so: xmlns:kendoUI="clr-namespace:GUI.Controls.Kendo" <kendoUI:KendoUIButton x:Name="OK" Ca...
by kmatt
Fri Aug 25, 2017 6:21 am
Forum: Bug Reports
Topic: [Cannot Reproduce] INTERNAL_idsToUIElements errors on Window.OnMouseOver events
Replies: 3
Views: 7234

[Cannot Reproduce] INTERNAL_idsToUIElements errors on Window.OnMouseOver events

I am getting errors such as these: Error in Window.OnMouseOver(...): The "INTERNAL_idsToUIElements" dictionary does not contain the following key:mapid Error in Window.OnMouseOver(...): The "INTERNAL_idsToUIElements" dictionary does not contain the following key:mnuHelp Error in ...
by kmatt
Tue Aug 22, 2017 11:17 am
Forum: Bug Reports
Topic: Resource extractor update bug
Replies: 1
Views: 4450

Resource extractor update bug

We had an image file name that contained a space, your resource extractor was replacing it with %20 as if it were a url. Since the reference to it no longer worked, we renamed the file to use an "_" instead of the space. The generated file under the /Bin/Output/Resources tree did not chang...
by kmatt
Tue Aug 15, 2017 11:59 am
Forum: Bug Reports
Topic: [SOLVED] Problem with deserialization in generated javascript
Replies: 7
Views: 13194

[SOLVED] Problem with deserialization in generated javascript

This is the smallest example of this issue I can create: Two solutions, a server and a gui, using websocket-sharp.clone for communication. The server must run for the GUI to respond. Run the GUI in the simulator, click the top left corner of the login button, you will see a "ShowMainPage comple...
by kmatt
Tue Aug 15, 2017 5:59 am
Forum: Bug Reports
Topic: [SOLVED] Button click does not work in browser
Replies: 1
Views: 4367

[SOLVED] Button click does not work in browser

Login Button will not click in Chrome browser. Works fine in Simulator. Project attached.
by kmatt
Tue Aug 08, 2017 9:22 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.14 of C#/XAML for HTML5 released (TextBlock Inlines/Runs)
Replies: 5
Views: 10117

Re: New Beta 11.14 released! [Download] (TextBlock Inlines/Runs)

Bahram wrote:
JS-Support wrote:
Bahram wrote:It's been a month and still no visual studio 2017 support!

Hi,
VS 2017 support will arrive before the end of July.
Thank you.
Regards,
JS-Support


We are still waiting eagerly for 2017 support

Ditto!
by kmatt
Tue Aug 08, 2017 9:10 am
Forum: Technical Support
Topic: [SOLVED] Error in Window.OnMouseOver
Replies: 1
Views: 4220

Re: Error in Window.OnMouseOver

Fixed it. In xaml the set for the onclick in javascript needed a "()". Also had to name the onclick javascript event method different than the id for the item. The event also need to belong to window instead of to the javascript menu object.
by kmatt
Mon Aug 07, 2017 6:56 am
Forum: Technical Support
Topic: Unable to use Toolbox in visual studio for CS HTML5 projects
Replies: 1
Views: 4657

Re: Unable to use Toolbox in visual studio for CS HTML5 projects

I doubt it is supported, since the standard WPF and silverlight controls would use the system.xxx.dll or Microsoft.xxx.dll files from Microsoft. CSHTML5 uses their own set of dlls and I doubt they've implemented designer support for them since the idea is you already have an existing project you are...
by kmatt
Mon Aug 07, 2017 6:36 am
Forum: Technical Support
Topic: [SOLVED] Error in Window.OnMouseOver
Replies: 1
Views: 4220

[SOLVED] Error in Window.OnMouseOver

In the simulator, when I move the mouse across elements created in an htmlpresenter, I get errors that come from the cshtml5 libraries. This is the xaml: <native:HtmlPresenter Name="mapToolbar" VerticalAlignment="Top" Visibility="Visible" HorizontalAlignment="Stret...
by kmatt
Tue Jul 18, 2017 12:17 pm
Forum: Technical Support
Topic: javascript How to call c # method
Replies: 6
Views: 10278

Re: javascript How to call c # method

I have the following C# code: Interop.ExecuteJavaScript(@"window.method1 = $0;method1();",(Action)Dummy); public void Dummy() { Debug.WriteLine("Called dummy"); } Dummy is never called. I've also tried making the method static but it still doesn't work. Has something changed?
by kmatt
Tue Jun 27, 2017 5:50 am
Forum: Technical Support
Topic: Dictionary<> serialization
Replies: 1
Views: 4296

Dictionary<> serialization

Is the Dictionary supposed to be able to serialize? I don't see it listed as not being supported on XmlSerializer Limitations: [DataContract] public class IPCGlobalConfiguration { [DataMember] public Dictionary<int, string> StandbyServers { get; set; } ..... I get an error: Exception thrown: 'System...

Go to advanced search

 

 

cron