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

Raddropdownlist finditembyvalue not working

1 Answer 128 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Damian
Top achievements
Rank 1
Damian asked on 18 Apr 2013, 02:31 AM
Hi,

There is a Raddropdownlist (Q1 2013 beta) which is populated using a data table from server side page load. In a radbutton click, I am using the FindItemByValue method to get the item but I am getting an error which seems like there is no such method associated with this control.

RadDropDownListItem item = RadDropDownList1.FindItemByValue("101");

Thank you,
Damian Hague

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Apr 2013, 04:02 AM
Hi Damian,

The FindItemByText and FindItemByValue server methods are added to the RadDropDownList in the Q1 2013 SP1 version (2013.1.403) of Telerik RadControls for ASP.NET AJAX. Since you are using a version prior to this, these methods wont be available in your current RadControl version. Please upgrade your RadControls to the latest version.

Thanks,
Princy.
Tags
DropDownList
Asked by
Damian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or