1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Example of radAjax in Siteinity

Example of radAjax in Siteinity

2 posts, 0 answered
  1. Mike
    Mike avatar
    208 posts
    Registered:
    10 Dec 2007
    27 Jan 2009
    Link to this post
    Hi all,

    I'm looking for an example of how to ajaxify a text input in sitefinity.  The idea is there will be a databound repeater with search results (employee profiles).  As the visitor types the name in a text box, I'd like to display a filtered list of possible matches.  For example, typing an "m" in the "FirstName" textbox would bring up:

    Mike
    Mark
    Mary

    then subsequently typing an "a" would change the list to

    Mark
    Mary

    I know how to do the filtering on the server side, but was looking for an example of using the radAjax control within Sitefinity.  Unfortunately the help documentation is difficult to navigate, and I can't locate any specific examples.

    I already know I'll have to set the textbox to autopostback, and get the filtering working that way...just looking for the ajax part.

    Thanks,
    Mike

  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    30 Jan 2009
    Link to this post
    Hello Mike,

    I would suggest you go with RadCombo control (part of RadControls for ASP.NET Ajax that come with Sitefinity). This control supports templates, which means you will not be bound to use text only and has built in auto complete feature.

    There are numerous ways in which you can achieve your desired scenario. For more complex data you can use RadGrid as well, which supports various ways of filtering.

    Finally, you can decide to do everything yourself and go with web services and maybe some jQuery plug in.

    The first option, however, would be simplest - and I am pretty sure would reasonably well do what you are trying to achieve.

    I hope you find this information helpful. Let us know if there is anything else we can do for you.

    Sincerely yours,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered