This is a migrated thread and some comments may be shown as answers.

Issue adding radpanel to sample

1 Answer 34 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Ronen Divon
Top achievements
Rank 1
Ronen Divon asked on 03 Jun 2008, 05:30 AM
I am using this sample http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/ClientSideAPI/DefaultCS.aspx but for some reason when I surround this with a radpanel the data that gets added into the lisbox are not available. Even though the listbox is populated, the value passed to the radpanel is the default value of click to select. Any ideas?

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 04 Jun 2008, 06:44 AM
Hello reverland,

The example you refer to is a simple demo that aims to demonstrate possible uses of RadToolTip, and especially how the tooltip can be controlled using its client-side API. With this respect, the form at the example is not a "real" form that presentd a full-blown ready to use case.

The problem you refer to would exist whether you use a RadPanel (e.g. AJAX) or you use simple postbacks.
It is due to the way the HTTP protocol functions. What the example shows is adding items to list control a client-side. Please note, that such items do not get sent to the server by default. In order to send those to the server, you would need some extra code - such as adding the items into a hidden field - whose [modified] value does gets sent on the server.

Please implement the scenario, and get it working using a hidden field + regular postbacks, and let us know if you encounter any problems with converting it to work with AJAX.

Best regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Ronen Divon
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or