Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4449

InvalidOperationException: There is already a subscriber to the content with the given section ID 'System.Object'

$
0
0

I have a blazor app.In my wwwroot folder I created a folder called JS and created a javascript file called Paginate.js and wrote 2 functions.

In my app.razor I referenced thre js file and the page on my blazor I tried to invoke the function. Now i get the above error. I removed what I did to the last time it worked and I am still getting the same message?

Is there anything that was created in the background or what am I missing?

Thanks

OnAfterRenderAsync{  Await JSRuntime.InvokeVoidAsync("pagination")}

Viewing all articles
Browse latest Browse all 4449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>