Search found 23 matches

Go to advanced search

by ScottM
Wed May 22, 2019 12:19 pm
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Re: Send email / file upload

Still fighting this. Tried poking some more around an ftp solution using javascript. Got a token from http://ftp.apixml.net/ thinking I could just do a javascript call via interop, which seems like it should work, but I'm not sure how to push a file into the javascript. It seems like it could look s...
by ScottM
Wed May 22, 2019 7:02 am
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Re: Send email / file upload

Remi: Thanks for the reply and hints. I'm using v2 (the latest, I think) and here is what I see: F12Results.png the code for that was: WebClient webClient = new WebClient(); string sReply = webClient.UploadString(new Uri("https://musserportal.com/salesportal/sv2dos/firsttest.txt"), "t...
by ScottM
Tue May 21, 2019 3:23 pm
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Re: Send email / file upload

Update, didn't do email, built a test WPF app. This works: WebClient webClient = new WebClient(); webClient.Credentials = new NetworkCredential("name", "password"); webClient.UploadStringAsync(new Uri("ftp://ftp.xyz.com/uploads/string.txt"), "STOR", "test...
by ScottM
Tue May 21, 2019 2:08 pm
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Re: Send email / file upload

OK, so if I launch the CSHTML5 app from xyz.com, and I try to UploadString to the same xyz.com, the CORS shouldn't be a problem, right? I'm OK with that, if I can just upload a string (JSON) to a folder on xyz.com. But I can't get it to work. Obviously in the simulator, I get the "No 'Access-Co...
by ScottM
Tue May 21, 2019 10:54 am
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Re: Send email / file upload

Thank you for your help.
by ScottM
Mon May 20, 2019 8:40 am
Forum: Technical Support
Topic: Send email / file upload
Replies: 7
Views: 40

Send email / file upload

(I maybe posted this in the wrong section last week. Revised with more explanation.) I put in code to upload a file from the user. Now I'd like, if possible, to do two things. First, and most important: 1. Send an email with form responses and the uploaded file attached. I looked for MailMessage tha...
by ScottM
Fri May 17, 2019 12:06 pm
Forum: Extensions and Plugins for CSHTML5
Topic: FileOpenDialog Extension for CSHTML5
Replies: 12
Views: 8840

Re: FileOpenDialog Extension for CSHTML5

Following on to the above, I do, filter issue notwithstanding, have the file contents available. Now, what to do with it? I'd like, if possible, to do two things: 1. Send an email with form responses and the uploaded file attached. 2. Save the uploaded file and form responses to a folder on the serv...
by ScottM
Mon May 13, 2019 2:27 pm
Forum: Extensions and Plugins for CSHTML5
Topic: FileOpenDialog Extension for CSHTML5
Replies: 12
Views: 8840

Re: FileOpenDialog Extension for CSHTML5

I've been playing with implementing this, and noticed an oddity, I think. With all three sets of code (original revised, TaterJuice revised, and rthomas version), when I run in the simulator (2.0.0-alpha25-040), the filter is set properly: FileOpenSimulator.png But when I run in the browser (in my c...
by ScottM
Wed Apr 24, 2019 7:20 am
Forum: General Discussion and Other
Topic: Navigation between XAML pages
Replies: 11
Views: 4608

Re: Navigation between XAML pages

Thank you. Sorry for my ignorance about the SPA aspect. But what you gave me worked. Here is what I ended up with, in case it helps anyone else... public sealed partial class App : Application { public Frame mFrame; public App() { this.InitializeComponent(); // Enter construction logic here... mFram...
by ScottM
Tue Apr 23, 2019 6:36 am
Forum: General Discussion and Other
Topic: Navigation between XAML pages
Replies: 11
Views: 4608

Re: Navigation between XAML pages

Thanks. The example there does a frame navigation, which is fine thing and I might eventually have a use for that, but for now, I'm just trying to do a "bear of little brain" or (in other words) KISS navigation. I just want to launch a sibling page in the solution replacing the present pag...
by ScottM
Thu Apr 18, 2019 10:37 am
Forum: General Discussion and Other
Topic: Navigation between XAML pages
Replies: 11
Views: 4608

Re: Navigation between XAML pages

Still evaluating (using the 2.0 0.3 preview), and wondering if there is a better way to navigate between xaml pages. PageContainer.Child = new ProspectingPage(); works, but the back arrow in the browser (Edge) doesn't take me back to the original page. This is an older thread, is there now a better ...
by ScottM
Tue Apr 09, 2019 11:10 am
Forum: Technical Support
Topic: Preview limted image Build Action options
Replies: 6
Views: 263

Re: Preview limted image Build Action options

Still no preview, but in the second test case, I fiddle with the image resolution of the first image, and then all three images started working in the simulator and browser. (Before I fiddled with the resolution of the first, none of the three showed up. Then only messing with the first, all three s...
by ScottM
Tue Apr 09, 2019 10:48 am
Forum: Technical Support
Topic: Preview limted image Build Action options
Replies: 6
Views: 263

Re: Preview limted image Build Action options

OK, on one of the test websites, it's working in the simulator and the browser, but still doesn't show up in the preview pane. In the other one, I get this: ImagesProblem.png The code for it is: <Image Source="Resources/BSTSplash310x150x32bit.png" MinWidth="82" MinHeight="37...
by ScottM
Tue Apr 09, 2019 9:45 am
Forum: Technical Support
Topic: Preview limted image Build Action options
Replies: 6
Views: 263

Re: Preview limted image Build Action options

Thanks for the reply. I'll look into the other syntax options, as I can't run the project:

2019-04-09.png
2019-04-09.png (9.39 KiB) Viewed 248 times


I'll play with it some more and report back.
by ScottM
Mon Apr 08, 2019 10:07 am
Forum: Technical Support
Topic: Preview limted image Build Action options
Replies: 6
Views: 263

Preview limted image Build Action options

I posted this under the new release forum, perhaps it was the wrong place to do so? http://forums.cshtml5.com/viewtopic.php?f=6&t=8504#p10590 Briefly, under the new 2.0 preview, a PNG image only gives me these options: "None, Compile, Content, Embedded Resource". I don't see the simple...
by ScottM
Fri Apr 05, 2019 8:54 am
Forum: Technical Support
Topic: Datagrid in 2.0 preview, column order sorted?
Replies: 2
Views: 129

Re: Datagrid in 2.0 preview, column order sorted?

Thanks for the reply. Yes, I tried defining my own columns with autogenerate false. Loading the ItemsSource didn't populate the correct columns. It just struck me that there was some kind of default alphabetical column sort was magically going on when loading the ItemsSource. I suppose that could be...
by ScottM
Wed Apr 03, 2019 8:09 am
Forum: Technical Support
Topic: Datagrid in 2.0 preview, column order sorted?
Replies: 2
Views: 129

Datagrid in 2.0 preview, column order sorted?

I've used a DataGrid in WPF before, never seen this. The XAML: <DataGrid x:Name="MainDataGrid" Margin="10,4,10,10" HorizontalAlignment="Stretch" AutoGenerateColumns="True" > <DataGrid.Resources> <Style TargetType="DataGridColumnHeader"> <Setter Prope...
by ScottM
Mon Apr 01, 2019 10:23 am
Forum: Technical Support
Topic: Preview limted image Build Action options
Replies: 6
Views: 263

Re: v2.0 Preview 0.1 RELEASED!

I moved most of a small website to V2.0 preview. One thing isn't working for me, which is displaying images with XAML like this: <Image Source="ms-appx:/Resources/BSTSplash310x150x32bit.png" MinWidth="82" MinHeight="37" MaxWidth="310" MaxHeight="150"...
by ScottM
Mon Apr 01, 2019 9:23 am
Forum: Technical Support
Topic: How to use Mailto?
Replies: 7
Views: 314

Re: How to use Mailto?

Thank you. Probably for my evaluation use as this as a long term tool, I should try and use the 2.0 preview.

Thanks again.
by ScottM
Mon Apr 01, 2019 8:29 am
Forum: Technical Support
Topic: How to use Mailto?
Replies: 7
Views: 314

Re: How to use Mailto?

Screen shot isn't working...

It says:

The 'ExecuteJavaScript' method, for callign JS code from C#, requires the Professional Edition of C#/XAML for HTML5.

Start the 60-day free trial of the Pro Edition

(etc.)

Go to advanced search