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

RadCombobox with additional link button

1 Answer 167 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Water
Top achievements
Rank 1
Water asked on 04 Jun 2013, 10:20 AM
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?

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 07 Jun 2013, 07:48 AM
Hello,

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.


Regards,
Nencho
Telerik
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.
Tags
ComboBox
Asked by
Water
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or