Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8634001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:36:35+00:00 2026-06-12T09:36:35+00:00

We have been implementing a web site with following technologies. Client: Html5, KendoUI, WebSync(Publish,

  • 0

We have been implementing a web site with following technologies.

Client: Html5, KendoUI, WebSync(Publish, Subscriber)

Server: ASP.net MVC 3.0

Grid has particular operations for each row. For example, we need to update the status of each row by clicking the operation menu after selecting the check boxes in particular rows.

When we do this operation on menu, we send ajax request to MVC Controller to update the record in database and it will simply return true to client.Here, we have used WebSync publisher- subscriber model to actually notify client when this request complete, because these operations need sometime to process.

When we get the callback from Web Sync, we update the kendo data grid as follows.

onMoveActionMessageReceived = function (data) {

     $("#resultGrid").data("kendoGrid").dataSource.read();
     WebSyncClient.UnsubscribeToMoveTransactionActions($('#moveTransactionIdTxt').val());
 }

As we have over 400k records in database for the grid data and we use paging, this solution is a time consuming solution and it affects on the user experience.

Is there anyway to refresh the kendo datasource with given dataitems(ie.not total datasource).(Grid range update) ?
or Are there any other solutions ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:36:36+00:00Added an answer on June 12, 2026 at 9:36 am

    I’ve found a solution for range update in the Kendo + WebSync. After finishing the process in server, webSync notifies to refreshSearchData function which is responsible for updating the client datasource. getSearchResultViewItem function returns the dataitem from the database and I’ve updated the datasource from client side.

     refreshSearchData = function (entityId, entityType) {
    
        getSearchResultViewItem(entityId, entityType, function (data) {
    
            var kendoGrid = $("#resultGrid").data("kendoGrid");
    
            if (kendoGrid) {
                if ($('#SelectedTypeId')[0].value == entityType) {
                   var items = kendoGrid.dataSource.data().toJSON();
    
                    for (var i = 0; i < items.length; i++) {
                        if (items[i].Id == data.Id) {
                            items[i] = data;
                            break;
                        }
                    }
                    kendoGrid.dataSource.data(items);
                }
            }
        });
    
    };
    
    getSearchResultViewItem = function (entityId, entityType, callback) {
        $.get(baseUrl + 'Search/GetSearchViewDtoById', { id: entityId, searchTypeId: entityId }, function (data) {
            callback(data);
        });
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been implementing googlemaps.subgurim.net asp.net GoogleMaps control into my site. I've registered multiple GoogleMaps
I have been studying SOAP and WSDL in preparation for implementing a web service.
I've have been working on implementing the InfoBox code for one of my web
I have been reading up on web-site performance lately and along side lowering HTTP-Requests
I'm pretty new to web development. Lately I have been making a site using
I have been implementing RSA security for a project I am working on. I'm
I have recently been working on implementing an ajax based file uploader for my
So I have been working on properly implementing a quicksort algorithm for a homework
I am implementing a system where I need real-time updates. I have been looking
As a lot of people have been doing so far, I'm implementing the FragmentTabsPager

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.