Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
listview1_ItemDataBound(
object
sender, RadListViewItemEventArgs e)
{
if
(e.Item
is
RadListViewEditableItem && e.Item.IsInEditMode)
RadComboBox cmb = e.Item.FindControl(
"cmbTest"
)
as
RadComboBox;
(cmb !=
null
fillCombo(cmb);
//databinds the combo
}
fillCombo(RadComboBox cmb)
cmb.DataSource = MngCon.Fill(ParameterConstants.PERSON);
cmb.DataTextField =
"NAME"
;
cmb.DataValueField =
"ID"
cmb.DataBind();
RadComboBox1_DataBinding(
sender, EventArgs e)
var comboBox = ((RadComboBox)sender);
fillCombo(comboBox);