Hi, I created a scenario loosely based on your example where you click on a listbox to load a tooltip, check some languages, click a button, and update the main listbox. I enhanced the example to use a more complex userControl as my tooltip, but in the end, it's still just a simple case of grabbing what the user entered on the tooltip UI and populating a control on the main form with those entries.
My scenario works fine when I use RadToolTip and define it in the .ASPX of my main form. In my tooltip user control, the user clicks an "OK" button which calls a javascript function on the main page to pass back the user's entries. Problem with this method is the usercontrol in the tooltip has a listbox that needs populating from the database and this occurs on Page_Load of the main form (even if the user never chooses to view the tooltip). Therefore, I would like to use the LoadOnDemand feature of RadToolTipManager.
I was able to convert my scenario to using that method for loading the tooltip, but I wasn't sure how best to return results from the tooltip. I tried with my original method (of javascript function on main page) and it didn't work. What would be the best way (server-side or client-side) to get data off the tooltip when the user clicks the "OK" button on the tooltip?
My scenario works fine when I use RadToolTip and define it in the .ASPX of my main form. In my tooltip user control, the user clicks an "OK" button which calls a javascript function on the main page to pass back the user's entries. Problem with this method is the usercontrol in the tooltip has a listbox that needs populating from the database and this occurs on Page_Load of the main form (even if the user never chooses to view the tooltip). Therefore, I would like to use the LoadOnDemand feature of RadToolTipManager.
I was able to convert my scenario to using that method for loading the tooltip, but I wasn't sure how best to return results from the tooltip. I tried with my original method (of javascript function on main page) and it didn't work. What would be the best way (server-side or client-side) to get data off the tooltip when the user clicks the "OK" button on the tooltip?