Search found 55 matches

Go to advanced search

by rkmore
Fri May 27, 2016 5:21 am
Forum: Technical Support
Topic: [SOLVED] Possible to render HTML ?
Replies: 10
Views: 24584

Re: Possible to render HTML ?

This works, but I would like to have something cleverer private void Button_Click(object sender, RoutedEventArgs e) { string html = "<body>This is a new window!</body></html>"; CSHTML5.Interop.ExecuteJavaScript( @"var oNewWin = window.open(""about:blank"", "&q...
by rkmore
Wed May 25, 2016 10:41 am
Forum: Technical Support
Topic: [SOLVED] Possible to render HTML ?
Replies: 10
Views: 24584

[SOLVED] Possible to render HTML ?

I have a WCF service that returns a report in the form of an HTML snippet (nothing fancy, just a few tables).

Is there any simple way to render the returned HTML in a control or on the page?

If so could you show a quick example?

Thanks....

RKM
by rkmore
Fri May 20, 2016 4:07 am
Forum: Bug Reports
Topic: Blocking GUI | Visual Studio 2013
Replies: 9
Views: 12111

Re: Blocking GUI | Visual Studio 2013

In VS2013 try the following: Options>>Text Editor>>C#>>Advanced turn off "Underline errors" and "Show live semantic errors" In VS2015 these options are renamed so Options>>Text Editor>>C#>>Advanced turn off "Show Diagnostics for closed files"
by rkmore
Thu May 19, 2016 3:41 am
Forum: Bug Reports
Topic: Blocking GUI | Visual Studio 2013
Replies: 9
Views: 12111

Re: Blocking GUI | Visual Studio 2013

I have this issue in VS2015 but not in VS2013. In vs 2015 I was able to improve things by turning off tools, options >> text editor >> C#, Advanced and uncheck Enable full solution analysis. But there is no such option in VS2013 Interestingly in my VS2013 any x:Name values are not available in intel...
by rkmore
Sun May 15, 2016 4:06 am
Forum: Bug Reports
Topic: Very strange bug in Line [SOLVED]
Replies: 4
Views: 7929

Workaround

Never did hear back on this one. If anyone else is having this problem here is a workaround until it is eventually hopefully addressed. private void DrawLine(Canvas pCanvas, Point p1, Point p2, Color pColor) { double minX = System.Math.Min(p1.X, p2.X); double minY = Math.Min(p1.Y, p2.Y); Line line =...
by rkmore
Sun May 15, 2016 3:11 am
Forum: Bug Reports
Topic: Minor bug in rendering of Expander
Replies: 1
Views: 3970

Minor bug in rendering of Expander

The new controls in Beta 8 are great! Especially the Tab and Expander controls. However I have found a small bug in the rendering of "Expander". I often use nested expanders to implement a tree view. In Beta 8 when an expander is nested the expannsion button is not rendered until it has be...
by rkmore
Sat May 14, 2016 1:57 pm
Forum: Technical Support
Topic: [SOLVED] Programatically show ComboBox drop list?
Replies: 2
Views: 5163

[SOLVED] Programatically show ComboBox drop list?

Is there any way to programatically drop down the list of a ComboBox?

IsDropDownOpen or something like it does not seem to be present.

Thank you

RKM
by rkmore
Thu May 12, 2016 11:53 am
Forum: Technical Support
Topic: Dynamic Controls
Replies: 2
Views: 4895

Re: Dynamic Controls

You are almost there. You need a place to put the control. For a simple example add a StackPanel to your XAML and give it a name (for example). <Page x:Class="Application2.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mic...
by rkmore
Tue May 03, 2016 5:31 am
Forum: Technical Support
Topic: Won't work on IOS - How to diagnose
Replies: 1
Views: 4082

Won't work on IOS - How to diagnose

My web app won't come up under any browser under latest IOS (I tried Safari, Chrome, and FireFox), I just get a message box that says "Undefined" Works fine on Chrome for Android, MS Edge for Windows Phone, Amazon Silk, and Samsung browsers. Just not any browser on IOS. How can I diagnose ...
by rkmore
Fri Apr 29, 2016 4:20 am
Forum: Technical Support
Topic: Side by side install?
Replies: 1
Views: 3718

Side by side install?

I need to revert to 7.2 since code created with 8 simply does not work on Chrome for Android (JSIL.Core has errors, sent you a ticket via email) but I would like to continue to experiment with the new features in anticipation of it eventually being resolved. How can I install 7.2 and 8 side by side?...
by rkmore
Wed Apr 27, 2016 7:22 am
Forum: Technical Support
Topic: Having trouble with the new TabControl
Replies: 1
Views: 3927

Having trouble with the new TabControl

For some reason anything I put on the first tab in the new tab control will not show. If I simple add another tab and place the exact same content on the second tab it works fine. I checked the showcase page and unfortunately the "View/Hide Source" for the tab example is not included as it...
by rkmore
Sun Apr 24, 2016 11:26 am
Forum: Technical Support
Topic: WCF Service using Request and Response
Replies: 9
Views: 11169

Re: WCF Service using Request and Response

So just a thought. Are you setting the origin policy on your server correctly? When you run from the browser directly off your file system this needs to be done. If you are using a server on the same machine just disable cross origin checking during your testing. If you are running on AZURE go to th...
by rkmore
Sat Apr 23, 2016 4:13 pm
Forum: General Discussion and Other
Topic: Webworker in CSHTML5/JSIL ?
Replies: 1
Views: 6352

Webworker in CSHTML5/JSIL ?

I have been researching a bit and it seems it is at least possible possible to create a webworker in JSIL. Is there going to be any kind of framework in CSHTML5 that would allow the creation and execution (and perhaps even intercommunication with) webworkers? It seems this might be an answer for the...
by rkmore
Sun Apr 17, 2016 6:38 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 7.3 of C#/XAML for HTML5 released
Replies: 3
Views: 8028

Re: NEW! Beta 7.3 of C#/XAML for HTML5 released! [Download]

This is great! Can we see some examples? The VisualStateManager really needs some examples. AdaptiveStateTrigger and other things are not working as I am used to. I am sure you did simple scenarios and tests as part of development. Can we see some of those? Having used VisualStateManager in win 8.1 ...
by rkmore
Thu Apr 07, 2016 4:35 am
Forum: General Discussion and Other
Topic: Question about threading
Replies: 1
Views: 7856

Question about threading

Given that in most browsers javascript runs in a single thread (and even in chrome it is sort of a wonky hybrid) what is the situation and future plans for threading support in CSHTML5 ? I see that it (understandably) pops a not yet implemented if I try to spin up a thread now. Are there some sort o...
by rkmore
Mon Apr 04, 2016 4:53 am
Forum: Extensions and Plugins for CSHTML5
Topic: FileOpenDialog Extension for CSHTML5
Replies: 12
Views: 39074

Accessing the camera

To access the camera using this extension change: CSharpXamlForHtml5.DomManagement.SetHtmlRepresentation(this, "<input type='file'>"); to CSharpXamlForHtml5.DomManagement.SetHtmlRepresentation(this, "<input type='file' accept='image/*' capture='camera'>"); RKM
by rkmore
Wed Mar 23, 2016 9:41 am
Forum: Technical Support
Topic: How to implement onbeforeunload correctly? [SOLVED]
Replies: 2
Views: 4870

Re: How to implement onbeforeunload correctly?

Works a treat. Thank you for the guidance.

RKM
by rkmore
Tue Mar 22, 2016 4:31 pm
Forum: Technical Support
Topic: How to implement onbeforeunload correctly? [SOLVED]
Replies: 2
Views: 4870

How to implement onbeforeunload correctly? [SOLVED]

I am having a tough time trying to figure out how to implement onbeforeunload . For now I have managed to add it manually after compilation by going in and editing the generated HTML but there must be a better way to do it correctly. Or am I missing something altogether? Is there some other mechanis...
by rkmore
Tue Mar 22, 2016 11:18 am
Forum: Bug Reports
Topic: Works when compiled with VS2013 but NOT WITH VS2015
Replies: 1
Views: 4688

Works when compiled with VS2013 but NOT WITH VS2015

It took me forever to find out why my code worked when I wrote my test app (at home under VS2013) but did not work when compiled at the office (under VS2015). The code below works fine when compiled with VS2013 but when compiled with VS2015 gives the following error... Uncaught Error: Type 'System.R...
by rkmore
Mon Mar 21, 2016 4:39 am
Forum: General Discussion and Other
Topic: JS Minimization
Replies: 1
Views: 6274

JS Minimization

At some point on the roadmap I think it would be nice to have a "minimize" option to force the resulting .JS files to be as compact as possible. Obviously this would be a future feature when all of the more pressing stuff gets completed. Just as an FYI if you run Google Closure Compiler on...

Go to advanced search

 

 

cron