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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:20:32+00:00 2026-05-30T12:20:32+00:00

At our company, I need to keep a web page up with a list

  • 0

At our company, I need to keep a web page up with a list of open orders for our employees.

In the code behind, I filter the search based on what items are selected from a DropDown list ddlList1 and a TextBox txtSearch, sort of like this:

string sql
if (!String.IsNullOrEmpty(ddlList1.SelectedValue) &&
    !String.IsNullOrEmpty(txtSearch.Text)) {
  sql = string.Format("{0}={1}", ddlList1.SelectedValue, txtSearch.Text);
} else {
  sql = null;
}
GridView1.DataSource = db.Select(sql);
GridView1.DataBind();

Management wants this data to be up to date, and never over 10 minutes old.

I am not sure how to do this. Most of my code is done on Windows Forms.

So far, I have found a way to refresh the page using the META tag:

<meta http-equiv="refresh" content="600;Summary.aspx" />

However, it almost appears as though WC3 recommends against using the refresh property:

Note: The value “refresh” should be used carefully, as it takes the control of a page away from the user. Using “refresh” will cause a failure in W3C’s Web Content Accessibility Guidelines.

Ref: HTML meta http-equiv

So, what is the recommended way to refresh my data?

If it helps, our Server is an older SQL 2000 machine.

[Note: I found this question on SO where someone suggested using an AJAX UpdatePanel. My Project, at this time, has no AJAX controls in it. Could I avoid the complexity of AJAX (downloading the latest package, install it into VS2010, add it to my Project’s list of references, then reference AJAX in every page that uses it) or just bite the bullet?]

  • 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-05-30T12:20:33+00:00Added an answer on May 30, 2026 at 12:20 pm

    If you don’t really do much of anything else on this page, you might as well just leave the auto refresh on. Yes, it’s annoying and I hate it and I think it shouldn’t exist, but I won’t have to use the site and if that’s really what the clients want, that’s what the client gets.

    You can also use javascript or asp controls to force a refresh other than just through the HTTP meta tag, but it comes with exactly the same problems.

    If you go the route of using update panels you have a few advantages. First, and possibly most importantly, if you have much content on the page other than just the gridview being updated you aren’t rendering it repeatedly. This could (potentially) be a significant reduction in server load based on what your whole page looks like, or it could be minimal. Next, you have a more subtle (and also customize-able) visual impact of the update for the user. If they want the site to just flicker and be up to date, an update panel will do that without a cursor change, spinners all over, etc. (You can also add stuff like that back in if you want it to be apparent to the users when the update panel is posting back.)

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

Sidebar

Related Questions

Our company provides web-based management software (servicedesk, helpdesk, timesheet, etc) for our clients. One
Implemented Google site search in our company website. We need to automate the google
I need to find a way to crawl one of our company's web applications
I need to write an SNMP agent on Windows for our company product. SnmpApi.lib
Our company builds custom Java EE web solutions. At the moment, we use standard
Our company deals with various online contests. As a part of functionality we need
Our company is a subscription based service with an iPhone/iPad app that allows our
We want to host our own repositories in our Company. We need LDAP support
Our company has pretty much banned us from using open-source libraries in our commercial
I am rewriting our company website in cakephp, and need to find a way

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.