Hi,
I am using a radComboBox with LoadOnDemand enabled. During the ItemRequested event I populate the list of items based on the key stroke, when I create the new RadComboBoxItem to add my combo I add a new attribute by
newItem.Attributes["MyAttribute"] = "SomeValue";
I need to access this attribute during the SelectedIndexChanged server event.
When I try
string myAttr = myCombo.SelectedItem.Attributes["MyAttribute"];
I get a null Exception error
thanks
I am using a radComboBox with LoadOnDemand enabled. During the ItemRequested event I populate the list of items based on the key stroke, when I create the new RadComboBoxItem to add my combo I add a new attribute by
newItem.Attributes["MyAttribute"] = "SomeValue";
I need to access this attribute during the SelectedIndexChanged server event.
When I try
string myAttr = myCombo.SelectedItem.Attributes["MyAttribute"];
I get a null Exception error
thanks