Search found 115 matches

Go to advanced search

by TaterJuice
Fri Aug 25, 2017 7:56 am
Forum: Technical Support
Topic: Callback type not supported: System.Func`1[TResult]: Interop.ExecuteJavaScript("value=$0()", (Func<TResult>)myMethod)
Replies: 3
Views: 1124

Re: Callback type not supported: System.Func`1[TResult]: Interop.ExecuteJavaScript("value=$0()", (Func<TResult>)myMethod

No, I can't get it to work in the browser, I'm not sure if that problem is related, but when I try to run my JS output, I receive the following CONSOLE errors: JSIL.Browser.js?20178250855:201 Error: The function 'System.Void Vivrant.CSHTML5.WeatherPanel.WeatherPanelControlTemplate/<>c__DisplayClass8...
by TaterJuice
Thu Aug 24, 2017 1:33 pm
Forum: Technical Support
Topic: Callback type not supported: System.Func`1[TResult]: Interop.ExecuteJavaScript("value=$0()", (Func<TResult>)myMethod)
Replies: 3
Views: 1124

Callback type not supported: System.Func`1[TResult]: Interop.ExecuteJavaScript("value=$0()", (Func<TResult>)myMethod)

I understand I can call a C# function from JS interop by calling Interop.ExecuteJavaScript("$0()", (Action)myCSMethod) However, I need to be able to return a string, or an array, from my CS Function, so I tried replacing "Action" with "Func<string>" as seen below, but I...
by TaterJuice
Wed Aug 23, 2017 11:26 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.13 of C#/XAML for HTML5 released
Replies: 6
Views: 2386

Re: Beta 11.13 of C#/XAML for HTML5 released

I've finally found the issue with binding! I'm sorry it took so long to reproduce. It seems that the problem is the following binding syntax "{Binding .}" in a PARENT control. This only seems to effect COLLECTION properties of the Datacontext. Other properties, like Strings and Integers, w...
by TaterJuice
Wed Aug 23, 2017 9:04 am
Forum: General Discussion and Other
Topic: Successful Projects
Replies: 1
Views: 790

Re: Successful Projects

Yes, large applications can be built with this program, but I don't have anything public facing that I can share yet. NO, DO NOT STOP LEARNING JavaScript, CSS and HTML! Continue to learn these for as long as you are developing web applications! Why? Because understanding these technologies will only...
by TaterJuice
Wed Aug 23, 2017 8:56 am
Forum: General Discussion and Other
Topic: Are these features in development yet, or planned for later?
Replies: 1
Views: 936

Are these features in development yet, or planned for later?

I'm curious if the following features have begun development, or if they are still scheduled out for future... (C#) System.Net.Security.RemoteCertificateValidationCallback and System.Net.ServicePointManager.ServerCertificateValidationCallback Event Example: ServicePointManager.ServerCertificateValid...
by TaterJuice
Mon Aug 21, 2017 9:48 am
Forum: Bug Reports
Topic: ComboBox.Template Ignored
Replies: 2
Views: 1096

Re: ComboBox.Template Ignored

Excellent, thank you!
by TaterJuice
Thu Aug 17, 2017 12:10 am
Forum: Bug Reports
Topic: native:HTMLPresenter does not contain a definition for 'HtmlProperty'
Replies: 0
Views: 1091

native:HTMLPresenter does not contain a definition for 'HtmlProperty'

Seems all of the HTML controls are missing their Html\Content\Text Dependency properties

Image.
by TaterJuice
Thu Jul 20, 2017 7:23 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.13 of C#/XAML for HTML5 released
Replies: 6
Views: 2386

Re: New Beta 11.13 released! [Download]

This build seems to have broken something. Built with 11.12, my program works as expected. Now with this build, my collection bindings aren't updating as expected in the Simulator, and I get a new error in the JS output "TypeError: Cannot read property 'length' of undefined" I have no idea...
by TaterJuice
Fri Jul 14, 2017 8:28 am
Forum: Bug Reports
Topic: The external method 'System.String ToString(System.String)' of type 'System.DateTime' has not been implemented.
Replies: 2
Views: 1043

The external method 'System.String ToString(System.String)' of type 'System.DateTime' has not been implemented.

The error does not occur in the simulator, only in the JS output.
The culprit of the error is:

Code: Select all

string curDate = DateTime.Now.ToString("MM/dd/yyyy")
by TaterJuice
Fri Jun 30, 2017 8:36 pm
Forum: Bug Reports
Topic: ComboBox.Template Ignored
Replies: 2
Views: 1096

ComboBox.Template Ignored

ComboBox Template doesn't appear to work at all. Even replacing it with a simple Textbox appears to do nothing. <ComboBox> <ComboBox.Template> <ControlTemplate TargetType="ComboBox"> <TextBlock Text="Hello" /> </ControlTemplate> </ComboBox.Template> </ComboBox> Here's what I'm ul...
by TaterJuice
Fri Jun 30, 2017 4:27 pm
Forum: Technical Support
Topic: Popup help?
Replies: 0
Views: 1029

Popup help?

Can you please provide a code sample of the Popup control? I can't seem to get it to work.
Also, on Beta 11.11, the compiler tells me that Popup does not have a property named "PlacementTarget" even though Intellisense sees it.
by TaterJuice
Sat Jun 24, 2017 12:32 pm
Forum: Bug Reports
Topic: ListBox.SelectedItemBackground broken with ItemsPanelTemplate
Replies: 2
Views: 1332

Re: ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Thanks, is there a timeline or eta on a fix?
by TaterJuice
Sat Jun 24, 2017 12:30 pm
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.11 of C#/XAML for HTML5 released (Printing)
Replies: 1
Views: 1099

Re: New Beta 11.11 released! [Download] (Printing!)

Thank you. Several well appreciated bugfixes and features.
by TaterJuice
Wed Jun 14, 2017 5:41 am
Forum: Technical Support
Topic: FontFamily embedded Resource - FontFamily not in XAML Editor
Replies: 0
Views: 1126

FontFamily embedded Resource - FontFamily not in XAML Editor

How do I use a TrueType (.ttf) or OpenType (.otf) font file with CSHTML5?

It looks like I should be able to just apply the FontFamily xaml Tag as a Resource according to this article, but FontFamily does not appear in the XAML editor\Intellisense for me.
by TaterJuice
Thu Jun 08, 2017 9:47 am
Forum: Bug Reports
Topic: ListBox.SelectedItemBackground broken with ItemsPanelTemplate
Replies: 2
Views: 1332

ListBox.SelectedItemBackground broken with ItemsPanelTemplate

ListBox.SelectedItemBackground working: <ListBox SelectedItemBackground="Blue"> <ListBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding .}" /> </DataTemplate> </ListBox.ItemTemplate> </ListBox> ListBox.SelectedItemBackground not working: <ListBox SelectedItemBackground=&...
by TaterJuice
Wed May 31, 2017 6:33 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.8 of C#/XAML for HTML5 released
Replies: 3
Views: 1999

Re: New Beta 11.8 released! [Download]

Yay Common Styles - Thank you so much!
by TaterJuice
Sat May 06, 2017 10:01 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.6 of C#/XAML for HTML5 released
Replies: 6
Views: 2397

Re: New Beta 11.6 released! [Download]

@zemorango, @Bahram & @JS-Support My 2 cents: With XAML support still at 75% (or less) completeness, I don't think the Migration Wizard having 3rd party support (Telerik and Kendo UI) should be a high priority when I still have to roll my own ProgressBar control, when the designer still can't vi...
by TaterJuice
Tue May 02, 2017 6:19 am
Forum: Technical Support
Topic: [Solved] Button Hover effect
Replies: 3
Views: 1231

Re: Button Hover effect

Wonderful, thank you!

Go to advanced search