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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:27:36+00:00 2026-05-26T11:27:36+00:00

I have created an update button on a page and everything is going in

  • 0

I have created an update button on a page and everything is going in right manner but when I update the date the update record do not changes while pressing update button when rather than refreshing the page, means when I refresh the page then page contents are updated.
what should i do in this matter?

  • 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-26T11:27:36+00:00Added an answer on May 26, 2026 at 11:27 am

    You Could use ajax update panel to update the partial page …

    Here is sample, how to use the update panel using ajax…

     <html xmlns="http://www.w3.org/1999/xhtml" > 
     <head runat="server"> 
     <title>Illustrating Partial Page Rendering using ASP.NET Ajax</title> 
     </head> 
        <body> 
        <form id="form1" runat="server"> 
         <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server"> 
         </asp:ScriptManager> 
         <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
           <ContentTemplate> 
             <table> 
              <tr> 
               <td><asp:Label ID="lblTime" runat="server" Text=""></asp:Label></td>   
              </tr> 
             <tr> 
             <td> 
              <asp:Button ID="btnShow" runat="server" Text="Show Current Time" OnClick="btnShowTime_Click" /> 
            </td> 
           </tr>            
          </table> 
         </ContentTemplate>
      </asp:UpdatePanel>         
     </div> 
    </form> 
    

    The Click Event Handler for the Button

    The click event handler for the Button control is responsible for updating the current time in the Label control. Here’s how you define the click handler for the Button control:

    using System; 
    namespace AjaxTest 
    { 
     public partial class _Default : System.Web.UI.Page 
     { 
    
          protected void btnShowTime_Click(object sender, EventArgs e) 
          { 
             lblTime.Text = "The Current Time is: "+DateTime.Now.ToLongTimeString(); 
          } 
    
          protected void btnShowTime_Click(object sender, EventArgs e)
          {
              lblTime.Text = "The Current Time is: "+DateTime.Now.ToLongTimeString();
          }
    
      }
    }
    

    pls take look at this link for more info

    i hope it will helps you

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

Sidebar

Related Questions

I have created a PHP-script to update a web server that is live inside
I have created some simple charts (of type FastLine) with MSChart and update them
I have created a Data Access Layer using .NET. Everywhere that I update a
I have a question regarding an update function I created... CREATE OR REPLACE FUNCTION
I have created a asp:TextBox. its disabled. but its values is changed via javascript.
I have an Index.aspx page with a button. If you click the button a
I have the page below, everything works fine... Except that after I click the
I am using ColorBox inline functionality and I have created a button which I've
I have two controls of interest on a page: a DropDownList and a Button
I have a simple form (textbox, submit button) which is wrapped in an update

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.