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 ?
I have been trying to diagnose some annoying intermittent errors I see thrown by AWSSDK, which include it trying to locate my AWSSDK profile/credentials files.
I used this guide to create them: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-creds.html
To fix this, I created the profiles and credentials in a flat file and put references to them in <appSettings>:
<add key="AWSProfilesLocation" value="C:\Users\Administrator\.aws\credentials" />
<add key="AWSProfileName" value="default" />
<add key="AWSAccessKey" value="ABC123" />
<add key="AWSSecretKey" value="DEFG6789" />
<add key="AWSBucketName" value="media.mysite.com" />
This addition works well in projects I use that do not have CloudUploaders, such as WebAPIs and services. Unfortunately, if I add these lines to a project with CloudUploader, it makes it so the uploader barks on every single upload, as if all files are invalidated or errored when attempting to select one. The project doesn't spit out a useful error so I'm not 100% sure whats happening.
Hi sir,
I use rad splitter i give color but not display so how i give color but rad splitter now work.
Note:
I need give color for i mark in screenshot pls reply ASAP