Issue adding radpanel to sample

2 posts, 0 answers
  1. Ronen Divon
    Ronen Divon avatar
    14 posts
    Member since:
    Sep 2009

    Posted 03 Jun 2008 Link to this post

    I am using this sample 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?
  2. Tervel
    Tervel avatar
    1337 posts

    Posted 04 Jun 2008 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top