I have an application that consists of a third party spreadsheet (farpoint) control. Within this control, I want to be able to click on a specific cell and have a tooltip appear that will display detailed information.
The problem here is that I don't have access to an actual control so that I can add the control to the RadToolTipManager. So I thought I could do all this client side.
I added the following client side code (note: Fp1 is my spreadsheet control):
and server side code:
This works fine to bring up a tooltip window in the appropriate place but I can't seem to find a way to force an AjaxUpdate.
Any help?
The problem here is that I don't have access to an actual control so that I can add the control to the RadToolTipManager. So I thought I could do all this client side.
I added the following client side code (note: Fp1 is my spreadsheet control):
| function OnCellClick() { |
| var Fp1 = $get('ctl00_chpMain_Fp1'); |
| if (Fp1.ActiveCol == 0) |
| { |
| var ttmEmployeeDetails = $find('ctl00_chpMain_ttmClientInfo'); |
| ttmEmployeeDetails.set_targetControl(Fp1.GetCellByRowCol(Fp1.ActiveRow, 0)); |
| ttmEmployeeDetails.show(); |
| } |
| } |
and server side code:
| <rad:RadToolTipManager ID="ttmClientInfo" runat="server" |
| Position="BottomRight" RelativeTo="Mouse" Sticky="true" ShowEvent="FromCode" ManualClose="true" |
| Animation="None" OnAjaxUpdate="ttmClientIfo_AjaxUpdate" |
| Width="380px" |
| Height="250px"> |
| </rad:RadToolTipManager> |
This works fine to bring up a tooltip window in the appropriate place but I can't seem to find a way to force an AjaxUpdate.
Any help?