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 7799305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:15:56+00:00 2026-06-02T00:15:56+00:00

My scenario: After client login, my user will be redirected to the index.aspx page.

  • 0

My scenario:

After client login, my user will be redirected to the index.aspx page.
Inside this page I will put one div with a gridview inside.
This gridview will be showing data from one table.

My question is: How to refresh this gridview always that one record is
saved on this table?

Ps.: I´ve seen a lot of examples using “server push” tecnology, comet, ajax, etc.
Don´t know the best way to do that and can´t find a really simple example.

  • 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-02T00:15:59+00:00Added an answer on June 2, 2026 at 12:15 am

    When a new record is added to the table, the real challenge is communicating those changes to the client in real-time without polling in intervals or requiring some sort of user interaction.

    You have a couple of options:

    1. Your best bet is to use a WebSocket, which enables bidirectional communication between the client and server. This is the solution I would pick.

      Here are some examples using WebSockets:

      • Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
      • HTML5 C# WebSockets Server and ASP.NET Client Implementation
      • C# WebSocket Server
      • WebSockets in ASP.NET 4.5
      • WebHooks and WebSockets in ASP.NET

      There are a few good libraries around too that will take care of most of the leg work. A couple to check out are WebSync and PokeIn. Both products offer decent documentation and community editions that you can download for free.

      Here are some tutorials to check out:

      • WebSync Tutorials
      • PokeIn Basic Tutorial / PokeIn Advanced Tutorial
    2. Use AJAX to poll for changes every X number of seconds. If changes are detected reload the page, otherwise do nothing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m writing a server/client game, a typical scenario looks like this: one client (clientA)
The scenario is this: there are 2 WCF Web Services, one a client (WCFClient),
Scenario: User A send application request to user B User B accepts request after
I have a scenario in which I have to run multiple commands one after
Here I am explaining the scenario - The user, after providing a service has
This seems impossible but I will ask anyway. Here is the scenario I have
Scenario A.java-----------after erasure-------->M.class Scenario B.java-----------after erasure-------->M.class Then why A is illegal and B is
Scenario : I'll try to put an analogy with the loan broker example from
Scenario: On the github exists the user guru and his primamy repository for the
A common scenario I encounter is providing notifications / confirmations to users after they

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.