?
Solved

Unable to get the tooltip to work with ajax updatepannel

Posted on 2010-08-19
2
Medium Priority
?
460 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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

771 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