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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:57:25+00:00 2026-06-01T03:57:25+00:00

I have a asp:UpdatePanel with a asp:Button and a asp:TextBox : <asp:UpdatePanel ID=UpdatePanel1 runat=server>

  • 0

I have a asp:UpdatePanel with a asp:Button and a asp:TextBox:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Button runat="server" Text="Click" ID="button" onclick="button_Click"/>
        <asp:TextBox runat="server" Title="Text" ID="text" Style="margin-top: 50px;" />
    </ContentTemplate>
</asp:UpdatePanel>

And the button_Click method is:

protected void button_Click(object sender, EventArgs e) {
    text.Attributes.Add("title", "Box");
    ClientScript.RegisterClientScriptBlock(typeof(ScriptManager), "Tooltify", "tooltipfy();", true);
}

tooltify() is a javascript function.

var tooltipfy = function () {
    alert('');
    $('[title]').qtip({
        style: {
            tip: {
                corner: true,
                width: 10,
                height: 5
            },
            classes: 'ui-tooltip-rounded ui-tooltip-shadow ui-tooltip-tipsy'
        },
        position: {
            my: 'bottom left',
            at: 'top right',
            adjust: {
                x: -10,
                y: 0
            }
        },
        events: {
            show: function (event, api) {
                $('.ui-tooltip-content').addClass('ui-tooltip-center');
            }
        },
        show: {
            effect: function (offset) {
                $(this).show("slide", { direction: "up" }, 500);
            }
        },
        hide: {
            effect: function (offset) {
                $(this).hide("explode", 500);
            }
        }
    });
}

The problem is the function is not executing.

How can I call JavaScript function while using asp:UpdatePanel?

  • 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-01T03:57:26+00:00Added an answer on June 1, 2026 at 3:57 am

    You should use ScriptManger when using UpdatePanel.

    protected void button_Click(object sender, EventArgs e) {
    
        ScriptManager.RegisterClientScriptBlock(this, this.GetType(),"Tooltify", "tooltipfy();", true);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET website containing the following <asp:UpdatePanel ID=UpdatePanel1 runat=server > <ContentTemplate> <asp:Label
In my aspx file, I have: <asp:UpdatePanel ID=UpdatePanel3 UpdateMode=Always runat=server> <ContentTemplate> <asp:Button ID=Button1 runat=server
I have the following gridview that is inside an updatepanel: <asp:UpdatePanel ID=UpdatePanel1 runat=server> <ContentTemplate>
When I have a regular textbox in a UpdatePanel (not an ASP.NET control) with
I Have a TextBox outside the UpdatePanel and a Button inside the Updatepanel When
I have a textbox called txtNote. When I enter some text I click a
I have a link button inside UpdatePanel in a div popup. On Button_Click, I
I have a asp:ListBox wrapped inside an asp:UpdatePanel. The list box contains all the
If you have an ASP.NET UpdatePanel and and ASP.NET Timer that trigers theUpdatePanel to
I have an ASP.Net CheckBoxList control inside an Ajax UpdatePanel. I will include 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.