Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Actinic Keratosis
702.1
Seborrheic Keratosis, Inflamed
702.0
Dermatitis, Stasis
504.9
Basal Cell Carcinoma, Face
173.9
<
telerik:RadComboBox ID="RadComboBoxDiagnosis" runat="server" Height="170px" ShowMoreResultsBox="True"
Width="100%" EnableLoadOnDemand="True" OnItemsRequested="RadComboBoxDiagnosis_ItemsRequested"
Style="margin: 0 auto 0 0px; display: block !important;" EmptyMessage="Select a Diagnosis Description.."
AllowCustomText="false" ToolTip="Select Diagnosis" AutoPostBack="true" ExpandAnimation-Type="InCubic"
Skin="Hay" BackColor="#EDFBE1"
>
</telerik:RadComboBox>
private DataTable GetData(string text)
{
string app = string.Empty;
if (text.Length > 0)
app =
"DESCRIPTION LIKE '" + text.Replace("'", "''") + '%' + "' AND";
}
string diagnosisData = "select DESCRIPTION,FK_CODE_VALUE,PK_ALL_CODE_DESC_ID from M_ALL_CODES_DESC WHERE " + app + " STATUS=1 order by DESCRIPTION ";
DataTable dtData = SqlHelper.ExecuteDataset(new Connection().GetCon, CommandType.Text, diagnosisData).Tables[0];
return dtData;
protected void RadComboBoxDiagnosis_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
DataTable data = GetData(e.Text);
RadComboBoxDiagnosis.Items.Clear();
string text = e.Text;
DataRow[] rows = data.Select();
int itemsPerRequest = 10;
int itemOffset = e.NumberOfItems;
int endOffset = itemOffset + itemsPerRequest;
if (endOffset > rows.Length)
endOffset = rows.Length;
for (int i = itemOffset; i < endOffset; i++)
RadComboBoxDiagnosis.Items.Add(
new RadComboBoxItem(data.Rows[i]["DESCRIPTION"].ToString(), data.Rows[i]["FK_CODE_VALUE"].ToString()));
// e.Message = String.Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", endOffset, rows.Length);
e.Message = GetStatusMessage(endOffset, data.Rows.Count);
private static string GetStatusMessage(int offset, int total)
if (total <= 0)
return "No matches";
return String.Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", offset, total);
} if i wll add itemtemplate
<ItemTemplate>
<table border="1px"><tr><td><asp:Label ID="lblDig" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DESCRIPTION") %>'></asp:Label></td>
<td><asp:Label ID="lblCode" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FK_CODE_VALUE") %>'></asp:Label></td></tr></table>
</ItemTemplate>
it doesn't work plz help me.