File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 6767 (adc , new JsonSerializerSettings { NullValueHandling = NullValueHandling .Ignore });
6868 if (data .nodeData .parentID != null )
6969 {
70- SampleBrowser .CurrentControl = SampleBrowser .Config .GetType ().GetProperty (data .nodeData .text ).GetValue (SampleBrowser .Config ) as List <Sample >
71- ;
72- ListDataSource = this .controlList . DataSource = SampleBrowser . CurrentControl ;
73- this .controlList .DataBind ();
70+ SampleBrowser .CurrentControl = SampleBrowser .Config .GetType ().GetProperty (data .nodeData .text ).GetValue (SampleBrowser .Config ) as List <Sample >;
71+ this . ListDataSource = SampleBrowser . CurrentControl ;
72+ this .StateHasChanged () ;
73+ this .controlList .Refresh ();
7474 toggle ();
7575 }
7676 }
8888
8989 public void OnSampleSelect (Syncfusion .EJ2 .RazorComponents .Lists .SelectEventArgs arg )
9090 {
91- Console . WriteLine ( " list " + arg );
91+
9292 string ad = JsonConvert .SerializeObject (arg );
9393 ListViewEvent data = JsonConvert .DeserializeObject < ListViewEvent >
9494 (ad , new JsonSerializerSettings { NullValueHandling = NullValueHandling .Ignore });
Original file line number Diff line number Diff line change 77 https://dotnet.myget.org/F/blazor-dev/api/v3/index.json;
88 </RestoreAdditionalProjectSources >
99 <LangVersion >7.3</LangVersion >
10+ <BlazorLinkOnBuild >false</BlazorLinkOnBuild >
1011 <RazorLangVersion >3.0</RazorLangVersion >
1112 </PropertyGroup >
1213
1314 <ItemGroup >
1415 <PackageReference Include =" Microsoft.AspNetCore.Blazor" Version =" 3.0.0-preview6.19307.2" />
1516 <PackageReference Include =" Microsoft.AspNetCore.Blazor.Build" Version =" 3.0.0-preview6.19307.2" PrivateAssets =" all" />
1617 <PackageReference Include =" Microsoft.AspNetCore.Blazor.DevServer" Version =" 3.0.0-preview6.19307.2" PrivateAssets =" all" />
18+ <PackageReference Include =" Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version =" 3.0.0-preview6.19307.2" />
19+ <PackageReference Include =" Microsoft.AspNetCore.SignalR.Client" Version =" 3.0.0-preview6.19307.2" />
1720 <PackageReference Include =" Syncfusion.EJ2.AspNet.Core.RazorComponents" Version =" 17.1.0.52-beta" />
1821 </ItemGroup >
1922
Original file line number Diff line number Diff line change 4444 document . write ( '<script src="' + baseurl + 'scripts/bluebird.min.js"><\/script>' ) ;
4545 }
4646
47- // hljs.registerLanguage('cshtml-razor', window.hljsDefineRazorCshtml);
48- // hljs.initHighlightingOnLoad();
47+ // hljs.registerLanguage('cshtml-razor', window.hljsDefineRazorCshtml);
48+ // hljs.initHighlightingOnLoad();
4949 </ script >
5050</ head >
5151
5252< body class ="ej2-new e-view ">
5353
5454 <!-- Google Tag Manager (noscript) -->
55- < noscript > < iframe src ="https://www.googletagmanager.com/ns.html?id=GTM-WLQL39J " height ="0 " width ="0 "
56- style ="display:none;visibility:hidden "> </ iframe > </ noscript >
55+ < noscript >
56+ < iframe src ="https://www.googletagmanager.com/ns.html?id=GTM-WLQL39J " height ="0 " width ="0 "
57+ style ="display:none;visibility:hidden "> </ iframe >
58+ </ noscript >
5759 <!-- End Google Tag Manager (noscript) -->
5860 < div hidden id ="sync-analytics " data-queue ="EJ2 - ASP.NET Core Razor Components - Demos "> </ div >
5961
You can’t perform that action at this time.
0 commit comments