Search found 63 matches

Go to advanced search

by TaterJuice
Sun Oct 15, 2017 2:27 pm
Forum: Extensions and Plugins for CSHTML5
Topic: FileOpenDialog Extension for CSHTML5
Replies: 7
Views: 2608

Re: FileOpenDialog Extension for CSHTML5

Non-Official Fork by TaterJuice Update #2 Description: I misunderstood the original implementation of the JS FileReader by JS-Admin and consequently, my JavascriptBlobToBase64StringConverter was not working. This update will read the file content as base64 encoded string with basic mime-type metada...
by TaterJuice
Thu Oct 12, 2017 9:14 am
Forum: Technical Support
Topic: How to override the default Loading animation for CSHTML5
Replies: 1
Views: 90

Re: How to override the default Loading animation for CSHTML5

My current workaround is to make a Wrapper CSHTML5 app with no dependencies, and just have it display an animated loading animation while it loads the actual CSHTML5 app and then displays it, once loaded. This still shows the initial loading bar, but only for a moment while it loads the new "lo...
by TaterJuice
Thu Oct 12, 2017 8:14 am
Forum: General Discussion and Other
Topic: Customizing Progress bar
Replies: 1
Views: 24

Re: Customizing Progress bar

Still waiting for a reply on that: http://forums.cshtml5.com/viewtopic.php?f=4&t=8141 My current workaround is to make a Wrapper CSHTML5 app with no dependencies, and just have it display an animated loading animation while it loads the actual CSHTML5 app and then displays it, once loaded. This ...
by TaterJuice
Wed Oct 11, 2017 2:44 pm
Forum: Bug Reports
Topic: PathGeometry Not Rendering Correctly in JS and Simulator (OK in Design Mode)
Replies: 2
Views: 74

Re: PathGeometry Not Rendering Correctly in JS and Simulator (OK in Design Mode)

JS-Support wrote:Hi,

Thanks for reporting this issue.

We are going to fix it asap.

Regards,
JS-Support


Looking forward to it, thank you!
by TaterJuice
Wed Oct 11, 2017 2:43 pm
Forum: Bug Reports
Topic: Error in browsers
Replies: 2
Views: 93

Re: Error in browsers

I've been seeing the same errors. Hi, In the meantime, you can fix the issue on your side either by changing the c# code, or by implementing the missing mscorlib overloads by yourself. Here is the documentation on how to do so: http://cshtml5.com/links/how-to-implement-mscorlib-methods.aspx Thanks a...
by TaterJuice
Tue Oct 03, 2017 10:02 am
Forum: Bug Reports
Topic: PathGeometry Not Rendering Correctly in JS and Simulator (OK in Design Mode)
Replies: 2
Views: 74

PathGeometry Not Rendering Correctly in JS and Simulator (OK in Design Mode)

Displays correct in Design - Incorrect in Simulator and in Browser <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,30,0,0"> <Canvas x:Name="Arc1" HorizontalAlignment="Center" VerticalAlignment="Top"> <Path Name=&qu...
by TaterJuice
Tue Sep 26, 2017 9:15 am
Forum: Extensions and Plugins for CSHTML5
Topic: FileOpenDialog Extension for CSHTML5
Replies: 7
Views: 2608

Re: FileOpenDialog Extension for CSHTML5

Non-Official Fork/Update by TaterJuice
(Edit: Removed, please see Update #2, below. Fixed a crucial bug with getting the Base64 Encoded Content)
by TaterJuice
Tue Sep 26, 2017 7:12 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

I receive the above error Please make sure that the first argument of the method ExecuteJavaScript is a string "literal", which means that its value is known ad design-time rather than runtime. For example, you cannot concatenate two strings with "string1" + "string2",...
by TaterJuice
Mon Sep 25, 2017 9:47 pm
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

So your issue with the extra <Button /> seems to be something kendoUI is doing, but has an easy fix. I added the following style to the page and the extra button disappears: //HideExtraButton.css .k-button + button { display:none; } https://image.ibb.co/gv6reQ/loginbuttonfixed.png await Interop.Load...
by TaterJuice
Fri Sep 22, 2017 11:50 am
Forum: Extensions and Plugins for CSHTML5
Topic: jQuery.ajax Extension for CSHTML5
Replies: 1
Views: 1143

Re: jQuery.ajax Extension for CSHTML5

Is this expected to work in Simulator? I'm getting an error... Object of type 'CSHTML5.Types.INTERNAL_JSObjectReference' cannot be converted to type 'System.String'. at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) at System.RuntimeType....
by TaterJuice
Wed Sep 20, 2017 4:28 pm
Forum: Technical Support
Topic: Any\All jQuery causes Non-Translatable Function Exception: The function 'xxx' could not be translated.
Replies: 2
Views: 91

Re: Any\All jQuery causes Non-Translatable Function Exception: The function 'xxx' could not be translated.

Hi, "$" is a reserved keyword for the "ExecuteJavaScript" method. It is used to pass arguments to the string literal (see the ExecuteJavaScript documentation ). If you want to use jQuery, you need to use "window.jQuery" instead of "$". For example, you can ca...
by TaterJuice
Mon Sep 18, 2017 9:37 pm
Forum: Technical Support
Topic: WebClient UploadString and Refused to set unsafe header "Content-Length"
Replies: 1
Views: 6408

Re: WebClient UploadString and Refused to set unsafe header "Content-Length"

I have been experiencing this issue lately. It causes my app to crash. I see you posted this December, 2016 (10 months ago). Did you ever find a solution? It is my understanding, this is a CORS issue, and we should be able to set the server's "Access-Control-Expose-Headers:" to expose the ...
by TaterJuice
Mon Sep 18, 2017 8:31 am
Forum: Technical Support
Topic: Any\All jQuery causes Non-Translatable Function Exception: The function 'xxx' could not be translated.
Replies: 2
Views: 91

Any\All jQuery causes Non-Translatable Function Exception: The function 'xxx' could not be translated.

jQuery works in Simulator, does not work in .js output. Unable to use any jQuery in CSHTML5.Interop.ExecuteJavascript. await Interop.LoadJavascriptFile(urlToHostedjQueryDOTjs); Interop.ExecuteJavascript("$('#myElementID').show();"); Works in Simulator, NonTranslatable function Exception in...
by TaterJuice
Sat Sep 16, 2017 12:31 pm
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 11.19 of C#/XAML for HTML5 released [Download] (VS 2017 support! + Tuple<>)
Replies: 19
Views: 442

Re: New Beta 11.19 released! [Download] (VS 2017 support! + Tuple<>)

Bahram wrote:Is it just for me or Storyboard completed does not work anymore for anyone!?!?!

Has never fired for me. I use DoubleAnimation.Completed, and I reported the StoryBoard.Completed bug here: http://forums.cshtml5.com/viewtopic.php?f=4&t=8134
by TaterJuice
Thu Sep 14, 2017 7:13 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

Ah, I understand. Can you share a sample project where you have the KendoUI Button displaying, and give me an example of something you want to DO with the button (ie, what do you to do when the button is clicked?). I'm pretty sure I can help get you going.
by TaterJuice
Wed Sep 13, 2017 1:46 pm
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

Can you share a sample project like what you just described? I think I might misunderstand your issue, but I'll give it a try anyway. A Sample project would be helpful in helping you troubleshoot. ------- So, I've never used KendoUI, and I'm not sure I understand your issue completely, but I do know...
by TaterJuice
Wed Sep 13, 2017 11:37 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

So, if I understand you correctly, you're trying to create a clickable button which can have dynamic HTML content, including custom\external JS libraries and custom\external CSS?
by TaterJuice
Wed Sep 13, 2017 7:44 am
Forum: Technical Support
Topic: custom control or UserControl vs 3rd party javascript library as e.g. jQuery
Replies: 19
Views: 919

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

FYI, when I inherit from HtmlPresenter: Exception thrown: 'System.InvalidCastException' in CSharpXamlForHtml5.dll Additional information: Unable to cast object of type 'GUI.KendoExtension.KendoUIButton' to type 'Windows.UI.Xaml.Controls.ContentControl'. What does your XAML look like? That error say...
by TaterJuice
Tue Sep 12, 2017 12:27 pm
Forum: Bug Reports
Topic: [SOLVED] Uncaught Error: No static method with signature 'System.Boolean Equals(System.String, System.StringComparison)
Replies: 1
Views: 47

[SOLVED] Uncaught Error: No static method with signature 'System.Boolean Equals(System.String, System.StringComparison)

Since 11.18 (or maybe .17?), my output Javascript no longer works if I have, ANYWHERE in my code, defined a Linq Comparison with String.Equals(str, StringComparison enum) this throws an error: var results = values.FirstOrDefault((v) => v.Equals("SomeSearchString", StringComparison.CurrentC...

Go to advanced search