Solved

Unable to get the tooltip to work with ajax updatepannel

Posted on 2010-08-19
2
454 Views
Last Modified: 2012-06-27
I have code where i am showing the image, employee name and button in a datalist all inside a ajax updatepannel when user click on the button the tooltip will display that item is being added to the basket but the code behind function of click event is not running

I had added the code

Thanks
RadToolTipDataList.zip
0
Comment
Question by:shieldguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 8

Expert Comment

by:Fareed Ali Khan
ID: 33473385
Hi, please register your script through ScriptManager in ajax call instead of page's RegisterClientScript method.
0
 
LVL 8

Accepted Solution

by:
Fareed Ali Khan earned 500 total points
ID: 33473401
Following sample code explains how to register script through scriptManager:
        ScriptManager sm = ScriptManager.GetCurrent(Page);

        if (sm.IsInAsyncPostBack) {

            StringBuilder sb = new StringBuilder();

            base.Render(new HtmlTextWriter(new StringWriter(sb)));

            string script = sb.ToString();

            ScriptManager.RegisterStartupScript(this, typeof(this.Page), UniqueID, script, false);

        }

Open in new window

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question