I have defined a ClientItemTemplate on my RadComboBox for using during LoadOnDemand, so far, this seems to be working great. However I have a value attached to the return objects as an Attribute that is sometimes empty/null. When this happens, the record in the dropdown shows "null" or "undefined" (if I don't attach the data).
I need to set up the template so that when this happens, it just shows a blank cell instead, but I can't seem to figure out how to do this.
My template looks like this:
My Code looks like:
I need to set up the template so that when this happens, it just shows a blank cell instead, but I can't seem to figure out how to do this.
My template looks like this:
<table> <tr><td>#=Attributes.DOB#</td></tr></table>My Code looks like:
var dobValue = string.Empty;item.Attributes.Add("DOB", dobValue);