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

  • Home
  • SEARCH
  • 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 6179143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:36:07+00:00 2026-05-24T00:36:07+00:00

i have an updatepanel in my asp.net web page. I want to trigger the

  • 0

i have an updatepanel in my asp.net web page. I want to trigger the updatepanel within a javascript function insead of triggering with a button.
In order to do that, i used __doPostBack('myUpdatePanel', ''); function. But i think it causes the whole page postback. My document.ready function is also executed when i call this function. I may be missing some points.
Is there any other way to trigger updatepanel within a javascript function?

  • 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-24T00:36:09+00:00Added an answer on May 24, 2026 at 12:36 am

    I think if you put a hidden button inside the update panel and you can use the javascript to fire the click of this button, it will do what you want.

    <script type="text/javascript">
            function Update_UpdatePaanel() {
                document.getElementById('<%= YourButton.ClientID %>').click()
            }
        </script>
    

    The button MUST be inside a hidden div and DON’T set visibile=”false” because if you set it to false, the control will not render and the javascript will produce errors.

    <div style="display:none">
            <asp:Button ID="YourButton" runat="server" />
        </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a GridView and want to on an ASP.NET Web Application page and
I have an asp.net web form with a button, label, scriptmanager and updatepanel controls.
I have an updatepanel in ASP.NET that does a partial page refresh. I've had
I have an asp.net button wrapped inside of an UpdatePanel, and when clicked it
I am working on an asp.net/C# web application, In the main page: I have
I have web page in ASP.NET. I have created Tree View control with jQuery.
In my ASP.NET Web Forms Page I have a ModalPopupExtender that is shown by
I have a global variable that I'm referencing in a ASP.NET web page update
I have 2 asp.net web forms. The first has a ScriptManager, History, UpdatePanel and
I have an ASP.NET web page that displays a variety of fields that need

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.