Hello,
in my ASP.NET WebForms page I have several RadComboBox like this:
<telerik:RadComboBox ID="radComboBoxFormat" EmptyMessage="Format" MarkFirstMatch="true" Width="100%" runat="server" CheckBoxes="true" DataTextField="Description" DataValueField="Code"></telerik:RadComboBox>
Now I'd like to write a method that iterates through selected items
and compose a List<string>, or a comme separated value long string,
of the item's selected code, but one only method valid for all
RadComboBox of the page (for not having duplicated code).
How can I achieve this?
Thanks a lot in advance.
Luigi

Hello,
I have this HTML code (for RadAutoCompleteBox) in my aspx page (WebForms):
<telerik:RadAutoCompleteBox RenderMode="Lightweight" runat="server" ID="acbClient" EmptyMessage="Client" OnClientDropDownItemDataBound="RemoveDuplicated" MaxDropDownHeight="100" DataTextField="RagSoc" DataValueField="CodCli" InputType="Token" DropDownHeight="150px" CssClass="RadAutoCompleteBoxPopup_Default" CollapseAnimation-Type="OutElastic" Width="385"></telerik:RadAutoCompleteBox>
and this in code-behind (VB.NET):
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load If GetClient(dtClient) = True Then acbClient.DataSource = dtClient acbClient.DataBind() End IfEnd Sub
but when I click some letters (for example, "ac" like in the screenshoot),
seems that don't find the exact matching.
Why this happens?
Thanks a lot in advance.
Luis


Hello,
in the PreRender event of my RadGrid, I have columns with date field in headers.
If I have
grdPositions.MasterTableView.GetColumn("09/07/2020")
I obtain a GridBoundColumns correctly.
How can I format this date with day name before? (Mer 09/07/2020)
And If I dont know the exact days, but only that some headers are date field, how can format every one of them?
Thank you.
Luis

Hello,
I have 2 RadComboBox.
The first one select one or more cities:
<telerik:RadComboBox ID="cmbCities" EmptyMessage="Cities" runat="server" MarkFirstMatch="true" Width="100%" CheckBoxes="true" EnableCheckAllItemsCheckBox = "true" DataTextField="CityName" AutoPostBack ="true" DataValueField="CityCode" OnSelectedIndexChanged="cmbCities_SelectedIndexChanged"></telerik:RadComboBox>
and the second one should is bases on the selected items of the first one,
and should shows the products available in the selected cities.
<telerik:RadComboBox ID="cmbProducts" EmptyMessage="Products" runat="server" MarkFirstMatch="true" Width="100%" CheckBoxes="true" EnableCheckAllItemsCheckBox = "true" DataTextField="ProductName" AutoPostBack ="true" DataValueField="ProductCode" OnSelectedIndexChanged="cmbProduct_SelectedIndexChanged"></telerik:RadComboBox>
My problem is that I don't know how to create the query (SELECT) based on the first combobox selection,
something like:
SELECT ProductName, ProductCode FROM Products WHERE CityCode IN (........selectedItems from 1st RadComboBox....)
Can anyone help me?
Thanks a lot.
Luis
Hi,
we are currently trying to migrate our Web application from Telerik controls version 2014.2.724.40 to version 2020.2.617.45. In our code we create GridBoundColumns using
column = new GridBoundColumn{DataFormatString = "<nobr>{0}</nobr>"};
Now when running the application with version 2020.2.617.45 the <nobr> tags show up in the grid cells, whereas they do not when using version 2014.2.724.40. In the attached picture the above grid is with version 2014.2.724.40 and the lower with version 2020.2.617.45.
What am I missing?
Thanks,
Michael
Hello,
I have an ascx-control is being placed 7 times at the aspx-page.
All controls render the same huge amount of rows: 2400.
The 1st control takes ~1 sec to render.
The 2nd - ~3 sec.
The 3rd - ~15 sec.
The 4th - ~25 sec.
The 5th - ~40 sec.
The 6th - ~65 sec.
The 7th - ~105 sec.
To render all controls on client it takes about 6 min, regardless the first 2 controls is being rendered almost immediately.
This is reproduced only on the Google Chrome the latest version (83.0.4103.97).
I did a try on the Chrome v.81, and there is no performance issue.
Also, there is no performance issue on the following browsers: Mozilla Firefox, IE 11, Edge.
Please see below usage of the RadListBox:
<telerik:RadListBox ID="RadListBox1"
OnItemDataBound="RadListBox1_ItemDataBound"
CheckBoxes="true"
OnClientItemChecked="ItemChecked"
Width="100%" Height="200px"
SelectionMode="Single"
DataTextField="Name"
DataValueField="ID"
EmptyMessage="No Rows"
OnClientLoad="SetInitialEnable"
runat="server"></telerik:RadListBox>
And set items at the ascx.cs:
DataTable list = GetList();
RadListBox1.DataSource = list;
RadListBox1.DataBind();
Actually I have tried the Load On Demand feature, the controls have been loaded even immediately, but all custom js were failed.
Please advice.

Hi !
I try to manage default sorting on my grid. I add this markup into the MasterTableView :
<SortExpressions> <telerik:GridSortExpression FieldName="Prenom" SortOrder="Descending"/></SortExpressions>But the datas are not sorted and the code :
$find('RadGrid1').get_masterTableView().get_sortExpressions()return an empy array.
Is it normal ?
