Search found 13 matches

Go to advanced search

by sebas
Tue Jan 30, 2018 12:43 am
Forum: Technical Support
Topic: DataGridTemplateColumn binding
Replies: 1
Views: 62

DataGridTemplateColumn binding

I have problem with it. When cell leaves editing mode TextBlock dosnt get new value. But binded structure get new value. What is wrong? <DataGrid x:Name="UserLoginGrid" IsReadOnly="False" ItemsSource="{Binding userLogins, Mode=TwoWay}"> <DataGrid.Columns> <DataGridTempl...
by sebas
Mon Jan 15, 2018 6:41 am
Forum: Bug Reports
Topic: Json Deserialization error
Replies: 2
Views: 169

Re: Json Deserialization error

if swap that

Code: Select all

            public String param1 { get; set; }
            public Model2 param2 { get; set; } = new Model2() { param3 = "1" };

than
'Unable to create an instance of type 'System.String'. A common cause is that the type does not have a default public constructor.'
by sebas
Mon Jan 15, 2018 6:36 am
Forum: Bug Reports
Topic: Json Deserialization error
Replies: 2
Views: 169

Json Deserialization error

using System; using Windows.UI.Xaml; using CSHTML5.Extensions.Json; namespace Application2 { public sealed partial class App : Application { public App() { Exec(); } public class Model2 { public String param3 { get; set; } } public class Model1 { public Model2 param2 { get; set; } = new Model2() {p...
by sebas
Wed Dec 20, 2017 4:31 am
Forum: Bug Reports
Topic: [SOLVED] Linq<Int32> Min() Error
Replies: 2
Views: 166

[SOLVED] Linq<Int32> Min() Error

Code: Select all

            Int32[] ii = new Int32[] { 1, -2,1};
            var i = ii.Min();
by sebas
Wed Dec 20, 2017 4:00 am
Forum: Bug Reports
Topic: [SOLVED] String.IndexOfAny with startIndex > 0 doesnt work in browser
Replies: 2
Views: 181

[SOLVED] String.IndexOfAny with startIndex > 0 doesnt work in browser

// Enter construction logic he;//re... var uri = "http://host.com"; MessageBox.Show(uri.IndexOfAny(new char[] { '/', '?' }, 1).ToString()); //Em = 5 Browser = -1 MessageBox.Show(uri.IndexOfAny(new char[] { '/', '?' }, 0).ToString()); //Em = 5 Browser = 5
by sebas
Fri Dec 01, 2017 2:34 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 12.7 of C#/XAML for HTML5 released
Replies: 5
Views: 503

Re: New Beta 12.7 released! [Download] (bug fixes)

YEss!!! I'd found it))) ufff Error happens in case casting Array -> IEnamerable,,, BUT!!! If array was been created with JsonCOnvert. using CSHTML5.Extensions.Json; using System; using System.Collections; using System.Collections.Generic; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namesp...
by sebas
Thu Nov 30, 2017 12:12 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 12.7 of C#/XAML for HTML5 released
Replies: 5
Views: 503

Re: New Beta 12.7 released! [Download] (bug fixes)

after 12.6 my project can be compiled and works in emulator. But i have many errors in browser like "Cast Object to IEnumerable". Now i try find those cases, but its very difficalt because code works in emulator correctly.

Now my stable version is 12.5
by sebas
Fri Nov 24, 2017 6:59 am
Forum: Pre-Releases, Downloads and Announcements
Topic: Beta 12.6 of C#/XAML for HTML5 released (20+ bug fixes)
Replies: 7
Views: 554

Re: New Beta 12.6 released! [Download] (20+ bug fixes)

JsonConvert .... Severity Code Description Project File Line Suppression State Error The method "ArrayList..ctor" is not yet supported. You can see the list of supported methods at: http://www.cshtml5.com/links/what-is-supported.aspx - You can learn how to implement missing methods at: htt...
by sebas
Fri Nov 24, 2017 6:56 am
Forum: Bug Reports
Topic: [SOLVED] WebClient doesnt throw exception 400
Replies: 1
Views: 166

[SOLVED] WebClient doesnt throw exception 400

try { WebClient wc = new WebClient(); string str; var Url = "http://dev01.tnomer.ru:7000/private/api/dictionary/work/asd"; wc.Encoding = Encoding.UTF8; wc.Headers.Set("Content-Type", "application/json"); str = wc.DownloadString(Url ); System.Windows.MessageBox.Show(&qu...
by sebas
Fri Nov 10, 2017 6:57 am
Forum: Bug Reports
Topic: [SOLVED] ArrayList.ToArray() error
Replies: 5
Views: 348

Re: ArrayList.ToArray() error

Hi! No problems) I dont use it
by sebas
Tue Nov 07, 2017 5:30 am
Forum: Bug Reports
Topic: [SOLVED] ArrayList.ToArray() error
Replies: 5
Views: 348

Re: ArrayList.ToArray() error

Code: Select all

            var c = new ArrayList();
            foreach(object b in c) // there is error too
            {
//....
            }
by sebas
Tue Nov 07, 2017 5:15 am
Forum: Bug Reports
Topic: [SOLVED] ArrayList.ToArray() error
Replies: 5
Views: 348

[SOLVED] ArrayList.ToArray() error

Code: Select all

            var c = new ArrayList();
            var b = c.ToArray();
 


in browser only. in wpf isnot fired.
by sebas
Tue Oct 31, 2017 10:53 pm
Forum: Bug Reports
Topic: [SOLVED] Setting ComboBox.SelectedValue error
Replies: 2
Views: 232

[SOLVED] Setting ComboBox.SelectedValue error

<ComboBox x:Name="ComboBox1" /> public partial class MainPage : Page { public class myType { public Int32 Id { get; set; } public String Name { get; set; } } public MainPage() { this.InitializeComponent(); var c = new ObservableCollection<myType>() { new myType() { Id = 1, Name = "11...

Go to advanced search

 

 

cron