Hello, I am having a bit of a strange problem.
I have a user control that has an image button (imgBtn), and a regular image (imgToolTip). imgBtn does a postback to imgBtn_click, and the imgToolTip is attached as a target for the tooltipmanager that does an onDemand Load call to onAjaxUpdate. Everything is fine.
However, when I place an update panel around everything, and point the async triggers at imgBtn, something rather strangee happens:
1. The update panel works fine, clicking on imgBtn has the desired effect, and the panel is updated.
2. If I mouse over imgToolTip, the tooltip updates correctly (onAjaxUpdate is called).
3. After viewing the ToolTip, if I then click on imgBtn, the onAjaxUpdate is called rather then calling the imgBtn_click event (no tooltip is displayed though).
I have the tooltip manager inside the update panel because the postback will also change the imgBtn, and imgToolTip, and if it is outside, then it will keep popping up the tooltip for the previous context.
I am stumped as to why this is happening...
I have a user control that has an image button (imgBtn), and a regular image (imgToolTip). imgBtn does a postback to imgBtn_click, and the imgToolTip is attached as a target for the tooltipmanager that does an onDemand Load call to onAjaxUpdate. Everything is fine.
However, when I place an update panel around everything, and point the async triggers at imgBtn, something rather strangee happens:
1. The update panel works fine, clicking on imgBtn has the desired effect, and the panel is updated.
2. If I mouse over imgToolTip, the tooltip updates correctly (onAjaxUpdate is called).
3. After viewing the ToolTip, if I then click on imgBtn, the onAjaxUpdate is called rather then calling the imgBtn_click event (no tooltip is displayed though).
I have the tooltip manager inside the update panel because the postback will also change the imgBtn, and imgToolTip, and if it is outside, then it will keep popping up the tooltip for the previous context.
I am stumped as to why this is happening...