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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:40:00+00:00 2026-05-14T20:40:00+00:00

I have many div in my aspx page. how to update the content of

  • 0

I have many div in my aspx page. how to update the content of a particular div?

It should update every one minute time interval..
with out reloading entire page..

  • 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-14T20:40:01+00:00Added an answer on May 14, 2026 at 8:40 pm

    Certainly can do as Raj has pointed out but requires you to send back HTML code that is only thats needed. If you’ve got it in a ASPX page, it’ll send the full HTML which is not that you want.

    If you’ve done it with with MS-AJAX / UpdatePanel, you can use jQuery or a JavaScript timer to trigger a hidden button which will cause any server side code to update.

    Please let me know if you want some examples

    EDIT – new code sample

    This is via jQuery, in the HTML HEAD

    <style>
    .hidden {visibility: none;}
    </style>
    <script type="text/javascript" language="javascript">
    $(document).ready(function() {
        // this part will tell the MS AJAX framework to call SetupTrigger when the AJAX call back is done
        if (typeof Sys != "undefined") {
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(SetupTrigger);
        }
        SetupTrigger()
    }
    </script> 
    

    Then in your HTML body

    <script language="javascript">
    function SetupTrigger() {
        var refresh = 60 * 1000;
        window.setTimeout(function() {
            TriggerUpdate();
        }, refresh);
    }
    function TriggerUpdate() {
       //simulates the button click
       $("#<%=btnUpdatePanel.ClientID%>").click();
    }
    </script>
    
    <asp:UpdatePanel runat="server" ID="upPanel" UpdateMode="Conditional" ChildrenAsTriggers="true">
        <ContentTemplate>
                <asp:Button runat="server" ID="btnUpdatePanel" OnClick="ServerSideFunctionToCall" CssClass="hidden" />
        <!-- content to update -->
        </ContentTemplate>
    </asp:UpdatePanel>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good Afternoon, I have a html aspx page that has many many div elements.
I have a ASPX page where I use many images and also same image
I have many div's, when ever I any of the div, its content gets
I have many inputs in a few divs, every div is being hidden and
I have many objects in one page which xpath is: //td[@class='bxec-day' or @class='bxec-day bxec-holiday'
I have many div's called each_item, one behind another. I am trying to check
I have divided the screen with many div so they stick one to each
I have a DIV with many elements that are all clickable. Each one with
I have many div.image , each one has a huge size. How do I
suppose i have many div's in my page but i want to print the

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.