Search found 38 matches

Go to advanced search

by ScottM
Mon May 20, 2019 8:40 am
Forum: Technical Support
Topic: Send email / file upload
Replies: 10
Views: 1180

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

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

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

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

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

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

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

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

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 902 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: 917

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

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

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

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

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

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.)
by ScottM
Mon Apr 01, 2019 8:24 am
Forum: Technical Support
Topic: How to use Mailto?
Replies: 7
Views: 899

Re: How to use Mailto?

OK, thanks for the reply. When I try that, I get: http://i68.tinypic.com/14c4j7d.png Which is the message I referred to at the end of my OP above. It also refers to a Professional Edition, not the Commercial Edition I see here: http://www.cshtml5.com/download.aspx which has a different price ($390 f...
by ScottM
Thu Mar 28, 2019 4:21 pm
Forum: Technical Support
Topic: How to use Mailto?
Replies: 7
Views: 899

Re: How to use Mailto?

I'm sorry, did I ask my question in the wrong place?

I did search the forum for "mailto" first, and didn't find an answer, which is why I asked the question.
by ScottM
Wed Mar 27, 2019 11:04 am
Forum: Technical Support
Topic: How to use Mailto?
Replies: 7
Views: 899

How to use Mailto?

I'm trying CSHTML5 out to see if I want to use it in client projects, and the following XAML fails: <Hyperlink NavigateUri="mailto:Tech@heavenword.com" Foreground="DarkRed"> Email us here. </Hyperlink> and I get a url like: https://heavenword.com/CS2HtmlApp;component/mailto:webma...

Go to advanced search

 

 

cron