Click here to Skip to main content
13,146,498 members (48,437 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,

I have widgets in my dashboard page.I want automatically refresh the widgets to hit the database and fetch the records automatically

from there for particular time intervals, without page reloading and without using any kind of ajax update panel.Because i can't use ajax

kind of thing in my website.Can any one help me with good ideas?.

Thanks in advance.
Posted 7-Oct-12 19:36pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I hope that you are allowed to use Cache in your application.

To achieve your requirement you can go for using Substitution Control.
The Substitution control offers a simplified solution to partial page caching for pages where the majority of the content is cached. You can output-cache the entire page, and then use Substitution controls to specify the parts of the page that are exempt from caching. Cached regions execute only once and are read from the cache until the cache entry expires or is purged. Dynamic regions execute every time that the page is requested.

See below examples:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100