Solved

Unable to get the tooltip to work with ajax updatepannel

Posted on 2010-08-19
2
442 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IDE for Python 5 73
C# XML Get Values 4 37
How to escape alias names for Oracle query 1 26
Build a string of emails from a gridview 2 20
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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