RadCombobox with additional link button

2 posts, 0 answers
  1. Water
    Water avatar
    13 posts
    Member since:
    Jan 2012

    Posted 04 Jun 2013 Link to this post

    I would like to have a combobox on my page with load on demand that works in the same way as the telerik combobox demo (http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx)

    In addition I would like to have an image button displayed beside the text for each line of the combobox, which will do a postback whenever it is clicked.

    I tried to do this using the ItemTemplate node in my aspx page however when I did this, items can no longer be selected in the the combo box and the image buttons do not post back the page. Is this functionality I should be able to get to work or is it something the combobox can't do?
  2. Nencho
    Nencho avatar
    1445 posts

    Posted 07 Jun 2013 Link to this post


    The approach you attempt to use to achieve the desired functionality is the correct one. You could use the ItemTemplate of the RadComboBox and use an img tag and its onclick event to fire a postback. Here is a video, demonstrating the implementation and behavior of the above suggestion.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top