Search found 140 matches

Go to advanced search

by TaterJuice
Thu Aug 22, 2019 7:33 am
Forum: Bug Reports
Topic: Empty App won't load in Edge
Replies: 8
Views: 393

Re: Empty App won't load in Edge

Hi, As we are attempting to maintain both the v1.x and v2.x branches in parallel (so that they have the same features with a different underlying technology), we have some delay to update v1.x because the recent changes in the v2.x branch have broken our internal builds of v1.x. We are working to f...
by TaterJuice
Wed Aug 07, 2019 10:05 am
Forum: Bug Reports
Topic: WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 403

Re: WebClient async methods do not throw Exceptions properly in JS output

JS-Support @Userware wrote:Hi,

We have fixed the try/catch handling when using the async methods of the WebClient.

Please expect the fix to be available in the next NuGet package update.

Thanks
Regards

Thanks for the message.
Will the current 1.2 release be updated?
by TaterJuice
Tue Aug 06, 2019 7:52 am
Forum: Technical Support
Topic: DataGrid Columns & Headers don't update after appearing
Replies: 1
Views: 90

DataGrid Columns & Headers don't update after appearing

I have a datagrid which needs to be built dynamically, so I placed an empty data grid in a page (with AutoGenerateColumns=False), then on page.Loaded, I add columns to the datagrid by dg.Columns.Add(). These new columns do not show up in the datagrid. So I tried adding the datagrid columns in the pa...
by TaterJuice
Tue Aug 06, 2019 7:42 am
Forum: Bug Reports
Topic: Empty App won't load in Edge
Replies: 8
Views: 393

Re: Empty App won't load in Edge

Is there any update about a release for this issue?
by TaterJuice
Mon Jul 22, 2019 2:03 pm
Forum: Bug Reports
Topic: WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 403

Re: WebClient async methods do not throw Exceptions properly in JS output

I would be happy to help, so I can make my deadline. Whats the best way to contribute? Should I completely rewrite the webclient based on your 2.0 source, or is there a simpler way to just override the uploadstring methods? I'm trying to browse your source, and I see a lot of "JS Interop Replac...
by TaterJuice
Mon Jul 22, 2019 8:02 am
Forum: Bug Reports
Topic: Animating Canvas.Left works, but throws unhandled exceptions
Replies: 1
Views: 100

Animating Canvas.Left works, but throws unhandled exceptions

I've attempted to create a simple Transitioning Content Control by animating Opacity and Canvas.Left properties in a storyboard. It actually works very nicely! (Yay!) But! It causes JS errors in the output, and null reference exceptions in the simulator (boo!) If I take out the Canvas.Left animation...
by TaterJuice
Fri Jul 19, 2019 8:06 am
Forum: Bug Reports
Topic: malformed guids from Guid.Parse (v1.x only)
Replies: 1
Views: 115

malformed guids from Guid.Parse (v1.x only)

This does not happen in simulator, it only happens in the JS output. Since Guid.TryParse isn't supported yet, I usually just wrap the Guid parse in a try/catch block Guid guid = Guid.Empty; var success = false; try { guid = Guid.Parse(someValue); success = true; } catch { } if (success) { //do somet...
by TaterJuice
Wed Jul 17, 2019 10:45 am
Forum: Bug Reports
Topic: WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 403

Re: WebClient async methods do not throw Exceptions properly in JS output

It seems none of the webClient.UploadString methods handle exceptions properly. For example, if the connection is interrupted, I see a js console error "Failed to load resource: net::ERR_CONNECTION_REFUSED" in the js output, but it is not caught in a try/catch block, and my app attempts to...
by TaterJuice
Wed Jul 17, 2019 10:37 am
Forum: Extensions and Plugins for CSHTML5
Topic: JSON Serializer/Deserializer Extension for CSHTML5
Replies: 17
Views: 14660

Re: JSON Serializer/Deserializer Extension for CSHTML5

It's a little messy, but I added support for JsonIgnore attribute public class JsonIgnoreAttribute : Attribute { //superfluous... } Then replace the following method in the original JsonConvert class #region Private Methods static object ConvertCSharpObjectToJavaScriptObject(object cSharpObject, boo...
by TaterJuice
Tue Jul 16, 2019 7:05 am
Forum: Bug Reports
Topic: WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 403

Re: WebClient async methods do not throw Exceptions properly in JS output

Hi, Thanks for reporting this issue. 1. Did it occur also with the previous version 1.2.2 (or older), or is it a regression? 2. Did you have a chance to test it with version 2.x yet? Thanks. Regards 1. I don't know. This is the first time I've used the CSHTML5 webclient in production. Prior to this...
by TaterJuice
Mon Jul 15, 2019 11:21 am
Forum: Bug Reports
Topic: WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 403

WebClient async methods do not throw Exceptions properly in JS output

Using the WebClientWithAuth class from CSHTML 1.2.3, exception handling for WebClient async tasks only works in the simulator, it does not work in output js and instead produces a javascript console error. client.DownloadString(); //handles exceptions client.DownloadStringAsync(); // does NOT handle...
by TaterJuice
Thu Jul 11, 2019 9:18 am
Forum: General Discussion and Other
Topic: Xamarin Applications
Replies: 6
Views: 1749

Re: Xamarin Applications

Honestly, there is nothing that is a higher priority than having a Xamarin Forms project that could ALSO be compiled as a web site. That seems WAY more lucrative than supporting Silverlight Migrations. Having an additional device type called CSHTML5 on which one could run a Forms app... beyond valu...
by TaterJuice
Tue Jul 09, 2019 8:27 am
Forum: Technical Support
Topic: 2.0 Breakpoints not hit
Replies: 3
Views: 172

Re: 2.0 Breakpoints not hit

I had to enable .NET Framework Source debugging (and disable "Just My Code") to get breakpoints to work. Edit: Some breakpoints are still skipped. I tried disabling .NET Framework Source debugging and re-enabling Just My Code, but it skipped all breakpoints again. I don't understand why th...
by TaterJuice
Tue Jul 09, 2019 8:13 am
Forum: Technical Support
Topic: 2.0 Breakpoints not hit
Replies: 3
Views: 172

2.0 Breakpoints not hit

App is skipping all my breakpoints in 2.0 release. How do I fix this?
by TaterJuice
Tue Jul 09, 2019 7:48 am
Forum: Technical Support
Topic: 2.0 missing RegexOptions.ECMAScript
Replies: 1
Views: 102

2.0 missing RegexOptions.ECMAScript

RegexOptions.ECMAScript is missing from the 2.0 release. Does this mean regex is no longer executed in ECMAScript in the output?
by TaterJuice
Tue Jul 09, 2019 6:04 am
Forum: Technical Support
Topic: [SOLVED] WebClientWithCredentials broken?
Replies: 4
Views: 286

Re: WebClientWithCredentials broken?

The 2.0 preview did resolve this issue.
by TaterJuice
Fri Jul 05, 2019 8:55 am
Forum: Technical Support
Topic: [SOLVED] WebClientWithCredentials broken?
Replies: 4
Views: 286

Re: WebClientWithCredentials broken?

Thanks a lot. Normally the error "The type 'System.Net.CredentialsMode' exists in both..." can be ignored. It is not supposed to prevent the compilation of the application. By the way, this is fixed in version 2.0 Preview. By any chance, have you tried to update your project to version 2....
by TaterJuice
Fri Jul 05, 2019 7:42 am
Forum: Technical Support
Topic: [SOLVED] Adding a custom event
Replies: 2
Views: 147

Re: Adding a custom event

How about this public class ClickableCollection { public delegate void ItemClickEventHandler(object sender, ItemClickEventArgs e); public event ItemClickEventHandler ItemClick; public class ItemClickEventArgs : EventArgs { public object ClickedItem { get; internal set; } } private void OnClicked(obj...
by TaterJuice
Tue Jul 02, 2019 7:22 am
Forum: Bug Reports
Topic: Empty App won't load in Edge
Replies: 8
Views: 393

Re: Empty App won't load in Edge

Looks like I have a newer build of Edge than you do in your video:

I am running
Microsoft Edge 44.17763.1.0

Your video shows
Microsoft Edge 42.17134.1.0

Go to advanced search