Search found 147 matches

Go to advanced search

by TaterJuice
Wed Apr 01, 2020 4:29 pm
Forum: Technical Support
Topic: window.AttachToDomElement ALWAYS wrapped in <div style='position: absolute'>
Replies: 0
Views: 22935

window.AttachToDomElement ALWAYS wrapped in <div style='position: absolute'>

TL;DR How do I force elements added using window.AttachToDomElement to use relative positioning? ---------------------- I previously posted a question about adding text, html or a custom control to an existing Html element, here: http://forums.cshtml5.com/viewtopic.php?f=4&t=8589 This is workin...
by TaterJuice
Fri Dec 20, 2019 10:35 am
Forum: Technical Support
Topic: NEWLINE = ? on Mac (Safari and Chrome)
Replies: 0
Views: 24029

NEWLINE = ? on Mac (Safari and Chrome)

I have Mac users are reporting newlines and carriage returns are becoming question marks in uploaded data. I can reproduce this: Test newline test newline test newline test newline new TextBox(); //paste text from mac new WebClient().UploadString(copiedAndPastedTextWithNewLineFromMac); //Read text o...
by TaterJuice
Mon Nov 25, 2019 10:25 am
Forum: Technical Support
Topic: CSHTML5 Control as direct div content
Replies: 1
Views: 16338

CSHTML5 Control as direct div content

Is there a way to insert a CHTML5 control into a div or native html element? Something like this: public partial class PageControl : UserControl { public PageControl() { CSharpXamlForHtml5.DomManagement.SetHtmlRepresentation(this, "<div class='main'><!-- content container --></div>"); this...
by TaterJuice
Mon Nov 18, 2019 3:46 pm
Forum: Pre-Releases, Downloads and Announcements
Topic: v1.2.4 released! (updated with hotfix)
Replies: 3
Views: 18798

Re: v1.2.4 released!

This is one of your best releases in 3 years. Keep up the good work!
by TaterJuice
Tue Sep 24, 2019 8:29 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v2.0 Preview 0.5
Replies: 11
Views: 33658

Re: v2.0 Preview 0.5 RELEASED!

Can you tell us how to implement this fix in the current public release of v1.2.3? The fix is not supposed to be needed for versions 1.x because caching works in a different way. If you are experimenting caching issues with v1.2.3, I suspect some settings may need to be modified in the server confi...
by TaterJuice
Thu Sep 19, 2019 7:36 am
Forum: Pre-Releases, Downloads and Announcements
Topic: v2.0 Preview 0.5
Replies: 11
Views: 33658

Re: v2.0 Preview 0.5 RELEASED!

Fixed an issue with browser caching that prevented the app from being properly refreshed on the end-user computer when a new release was deployed


Can you tell us how to implement this fix in the current public release of v1.2.3?
by TaterJuice
Thu Sep 12, 2019 10:14 am
Forum: Bug Reports
Topic: [SOLVED] Empty App won't load in Edge
Replies: 10
Views: 28387

Re: Empty App won't load in Edge

Thank you!
by TaterJuice
Thu Aug 22, 2019 7:33 am
Forum: Bug Reports
Topic: [SOLVED] Empty App won't load in Edge
Replies: 10
Views: 28387

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: [SOLVED] WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 34840

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: 15076

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: [SOLVED] Empty App won't load in Edge
Replies: 10
Views: 28387

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: [SOLVED] WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 34840

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: 12646

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: 12736

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: [SOLVED] WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 34840

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: 20
Views: 305009

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: [SOLVED] WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 34840

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: [SOLVED] WebClient async methods do not throw Exceptions properly in JS output
Replies: 11
Views: 34840

[SOLVED] 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: 22965

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...

Go to advanced search

 

 

cron