What is the best way to pass values back and forth to onAjax update when using a ToolTipManager? For example, in this sample : http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/LoadOnDemand/DefaultCS.aspx the product data is loaded from what I can see as the index of the repeater/grid which might work for this example, but really wouldnt work for a real-world example.
In my last task, the requirements were similar to the above, and I had a hidden field that I would update with the ProductID on click which woudl then be retrieved in the onAjaxUpdate event of the ToolTipManager. It doesnt strike me as the best solution, but it does work.
Question: in the AjaxUpdate event, we can get the targetControlID which is the clientID but can get an actual reference to the control somehow? My initial thoughts are to have the productID databound in each image button as the CommandArguement, so I would like to get a reference to the Image Button that triggered the window opening, grab the command arguement and populate the tooltip with the Usercontrol as per the sample.
Any insight on how best to pass values or get references to controls inside the grids would be appreciated.
In my last task, the requirements were similar to the above, and I had a hidden field that I would update with the ProductID on click which woudl then be retrieved in the onAjaxUpdate event of the ToolTipManager. It doesnt strike me as the best solution, but it does work.
Question: in the AjaxUpdate event, we can get the targetControlID which is the clientID but can get an actual reference to the control somehow? My initial thoughts are to have the productID databound in each image button as the CommandArguement, so I would like to get a reference to the Image Button that triggered the window opening, grab the command arguement and populate the tooltip with the Usercontrol as per the sample.
Any insight on how best to pass values or get references to controls inside the grids would be appreciated.