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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:30:17+00:00 2026-06-09T23:30:17+00:00

I want to call two functions on button click I tried like this <asp:Button

  • 0

I want to call two functions on button click
I tried like this

 <asp:Button ID="Button2" runat="server" Font-Bold="False" onclick="tableShow();Unnamed1_Click" Text="Search" 
         Width="63px">
  • 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-06-09T23:30:19+00:00Added an answer on June 9, 2026 at 11:30 pm

    OnClick is a server side event. Hence you can assign one method and from that method make a call to other method as below.

    In asp markup

    <asp:Button ID="Button2" runat="server" Font-Bold="False" onclick="Unnamed1_Click" 
     Text="Search" Width="63px">
    

    In code behind

    protected void Unnamed1_Click(object sender, EventArgs e)
    {
        this.tableShow();
        //Do your actual code here.
    }
    

    UPDATE

    If tableShow is a javascript method then you can use the below markup

    <asp:Button ID="Button2" runat="server" Font-Bold="False" 
     OnClientClick="tableShow();" onclick="Unnamed1_Click" Text="Search"
     Width="63px">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to call a html page on click of a button in mvc.
I want to call two functions on same event 1 is client side and
Basically when I click a button I want to call a function and run
I have two partial view and I want to call one of them in
I have two UILabels. that I want to overlap one atop the other. Call
consider this function: jQuery.fn.MyFunction = function (event) { alert(this.text()); } I want to call
Initially, when users click the delete button, I want the whole line of elements
I want to have a list view with each row having two buttons like
I want to call a webservice using google closures, via jsonp since i am
i want to call the command prompt command using Process.Start and then using StandardOutput

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.