ServiceBrokerListener | receives SQL Server table changes into your .net code | SQL Database library
kandi X-RAY | ServiceBrokerListener Summary
kandi X-RAY | ServiceBrokerListener Summary
Cross-platform .NET 4.0 (C# 4.0) and .NET Core compatible component which receives SQL Server table changes into your .net code. Take a look how it works:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Context menu context menu
- Creates a new Column sorting function .
- Initializes a column position move .
- Create horizontal row resize handler .
- Initializes the column resize handler .
- Initialize a row position move .
- DOM event handler
- Allows the user to show column if it is free .
- Creates a new walkable border area area .
- Handle keydown events
ServiceBrokerListener Key Features
ServiceBrokerListener Examples and Code Snippets
Community Discussions
Trending Discussions on ServiceBrokerListener
QUESTION
I'm creating an app with ASP.NET Core MVC, Razor, EF Core, SQL Server as the database.
I have 3 views: List
, Create
, and Edit
.
List
- showing the data from the table (as a list)Create
- for creating a new recordEdit
- to edit a selected record
These pages will be accessed by different users.
The case is: how can I update the list without refreshing the List
page? So when there's a new record, the data table will be updated with a new record, even when the record is edited.
I am trying the code with this sample --> https://github.com/dyatchenko/ServiceBrokerListener
But it seems that the page didn't updated.
My code:
...ANSWER
Answered 2022-Mar-17 at 04:51How can I update the list without refreshing the List page?
Do you mean that you want to see record changes in near-real-time in your web page, without requiring an entire postback / page refresh?
You need to use client side programming for that, and the only client side language that works in browsers is Javascript. MS are pushing something new called "Blazor" for client side programming, but it's not really "native" as far as I can tell.
The functionality you're after is delivered using something called "AJAX" which is basically "Using javascript to make your web page behave like a thick client application"
There are now many javascript plugins, libraries, frameworks and layers that do what you want. I recommend you buy a third party tool rather than write your own. I've seen Telerik used successfully in the past.
It's not very well explained in various ASP.Net MVC articles that there is no way to do all that "standard" stuff if just using ASP.NET MVC.
If you do take the AJAX / Telerik route, keep in mind that you still need to build API's in your controller. These basically return data, often in JSON format, which your client side javascript uses to update the page in-place rather than having to post back.
An option that I tried and gave up on was the free jqGrid libray. Here's an example of how incredibly complicated it is to get seemingly simple things like grid updates running.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ServiceBrokerListener
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page