Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145288 | Jun 16,2019 02:46 AM UTC | Jun 17,2019 10:48 AM UTC | Blazor | 3 |
![]() |
Tags: Grid |
Uncaught (in promise) Error:
System.InvalidOperationException: No generic method 'OrderBy' on type
'System.Linq.Queryable' is compatible with the supplied type arguments and
arguments. No type arguments should be provided if the method is non-generic.
at System.Linq.Expressions.Expression.FindMethod (System.Type type,
System.String methodName, System.Type[] typeArgs,
System.Linq.Expressions.Expression[] args, System.Reflection.BindingFlags
flags) <0x337f998 + 0x00130> in
<170a42f892b5459ba3640ba5f7d6f074>:0
at System.Linq.Expressions.Expression.Call (System.Type type,
System.String methodName, System.Type[] typeArguments,
System.Linq.Expressions.Expression[] arguments) <0x337f6a8 + 0x0004a>
in <170a42f892b5459ba3640ba5f7d6f074>:0
at Syncfusion.EJ2.RazorComponents.QueryableExtensions.OrderBy
(System.Linq.IQueryable source, System.String propertyName, System.Type
sourceType) <0x3379dc8 + 0x000ba> in
at Syncfusion.EJ2.RazorComponents.EnumerableOperation.PerformSorting
(System.Collections.IEnumerable dataSource, System.Collections.Generic.List`1[T]
sortedColumns) <0x33787a8 + 0x0009e> in
at Syncfusion.EJ2.RazorComponents.EnumerableOperation.PerformSorting
(System.Collections.IEnumerable dataSource,
System.Collections.Generic.List`1[T] sortedColumns) <0x32a89b0 +
0x0013c> in
at Syncfusion.EJ2.RazorComponents.DataOperations.PerformSorting
(System.Collections.IEnumerable dataSource,
System.Collections.Generic.List`1[T] sortedColumns) <0x32a8138 + 0x00008>
in
at Syncfusion.EJ2.RazorComponents.BaseComponent.DataProcess
(Syncfusion.EJ2.RazorComponents.DataManagerRequest dm) <0x31cdbf0 +
0x0017a> in
at (wrapper managed-to-native)
System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj,
System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
<0x227da48 + 0x000d2> in --- End of stack trace from previous
location where exception was thrown ---
at Microsoft.JSInterop.DotNetDispatcher.InvokeSynchronously
(System.String assemblyName, System.String methodIdentifier, System.Object
targetInstance, System.String argsJson) <0x2cf6160 + 0x00222> in <8f8c03446dbf45f5bbcb1e109a064f6e>:0
at Microsoft.JSInterop.DotNetDispatcher.BeginInvoke (System.String
callId, System.String assemblyName, System.String methodIdentifier,
System.Int64 dotNetObjectId, System.String argsJson) <0x2cf3220 + 0x0007c>
in <8f8c03446dbf45f5bbcb1e109a064f6e>:0
at endInvokeDotNetFromJS
(http://localhost:51059/_framework/blazor.webassembly.js:1:6160)
at Object.invokeJSFromDotNet
(http://localhost:51059/_framework/blazor.webassembly.js:1:5676)
at _mono_wasm_invoke_js_marshalled
(http://localhost:51059/_framework/wasm/mono.js:1:169574)
at wasm-function[1450]:714
at wasm-function[601]:22743
at wasm-function[601]:21413
at wasm-function[601]:21902
at wasm-function[601]:21413
at wasm-function[601]:21413
at wasm-function[601]:21413 |
[Index.razor]
The razor file is attached as a zip file.
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
. . . .
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
</PropertyGroup> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.