Hi,
We have been using the LoadSettings() and SaveSettings() functions to persist the expression in a database.
We discovered that you have changed the internal format of this when we upgraded to Telerik UI for ASP.NET AJAX 2024 Q4 from Telerik UI for ASP.NET AJAX R1 2023. The old version used ViewState and the new one uses Json. The result of this is that the old expressions are not working anymore. This is a blocker for us. Do you have any solution to detect/convert the old persisted expressions in the new version? We have many expressions saved in the old format and it breaks the application.
The main reason for upgrading is that we are using your PDF document library to detect if files contains javascript actions and you introduced support for this after the 2023 version. We are checking files for Javascript in compination with your RadAsyncUplad since we do not want users to upload PDF files with javascript due to security reasons. It would have been nice to have access to the Javascript collection that are private. We had to use reflection to get to it. The reason for this is that the javascript is connected to OnOpen action. That one is not supported by public access.
Regards
Ole Oscar
I'm encountering an issue in an ASP.NET WebForms application using RadGrid, and I’ve isolated it to one specific column. The grid is configured to use EnableHeaderContextMenu="true". In all columns except one, clicking the ellipsis icon properly displays the context menu just above the column header. However, in the affected column, the context menu opens at the top-left corner of the page (left: 75px; top: 20px;
), regardless of scroll position or grid placement.
Right-clicking on the column header does show the menu in the correct location.
The issue is limited to a single column; the others function as expected.
This behavior is consistent across Chrome and Edge (latest versions).
Telerik AJAX controls are up to date (or close — please let me know if this was resolved in a recent release).
Attached is a side-by-side comparison, showing the missing Filter icon and Search text box, and inconsistent alignment.
Data Content Difference:
The affected column contains only NULLs or one repeated value (homogeneous data).
I suspect this may result in layout optimizations or missing render elements on Telerik’s end.
HTML Inspection shows a difference:
In the affected column, this element is hidden:
<span id="ctl00_Main_RadGrid1_rghcMenu_i9_filterCheckListSearch_wrapper"
class="RadInput RadInput_Sunset"
style="display: none;">
In the working column, the same element has no display: none;
style:
<span id="ctl00_Main_RadGrid1_rghcMenu_i9_filterCheckListSearch_wrapper"
class="RadInput RadInput_Sunset"
style="">
Broken menu:
<div class="RadMenu RadMenu_Sunset ... GridContextMenu"
style="left: 75px; top: 20px; height: 324px;">
Working menu:
<div class="RadMenu RadMenu_Sunset ... GridContextMenu"
style="left: 366px; top: 180px; height: 667px;">
The significantly reduced height suggests missing or hidden menu elements.
Is this a known issue tied to RadGrid's menu rendering when the filter controls (like checklist search) are hidden or omitted?
Could recent browser updates (Chrome/Edge) impact menu positioning logic in RadGrid?
Is there a client-side fallback when no visible anchor element is found for positioning?
Can this behavior be overridden or corrected without writing custom JS or modifying grid data?
I’m intentionally avoiding workarounds like injecting dummy values, overriding client-side menu positioning logic, or forcing the checklist visibility. I’m first trying to confirm if this is a recognized bug, regression, or browser compatibility issue.
I can provide a minimal repro project if needed.
Thanks in advance!
I have created an application within Visual Studio 2019 and using c#.
The project has a page which uses a telerik RadGrid. It is populated on page load and I have filtering enabled on 3 of the columns. I have set the aspx for the columns to have AutoPostBackOnFilter="true" AllowFiltering="true" ShowFilterIcon="true"
The runs perfectly when ran in development environment but when I publish my application to the web server the filter does not work at all. Nothing happens if I tab out of the filter text box or if I select anything from the filter icon.
Can anyone advise what the issue could be please? I am using Telerik.web.ui version 2024.1.131.45
Thanks
RR
I've set
<telerik:GridTemplateColumn ... ShowFilterIcon="True">
but no icon appears when I apply a filter. Conversely, a sort icon does appear when I apply a sort.
Sorting is achieved by clicking on the column header, but for filtering, I am using a header context menu. Is that the source of the problem?
I am using Visual Studio 2019 c#
I have a telerik radgrid which has a column named StageStDate which is in string format but shows a date in format dd-mmm-yy. This column has filtering enabled with a date picker.
I have a hidden column named StageStartDate which is a replicate of StageStDate but is a date column and in format DD/MM/YYYY.
As StageStDate wont filter correctly as its a string format, when user select a date for this column from filter I would like the filtering to apply to the StageStartDate column, how can I achieve this please?
On ItemCommand I have changed the Pair Second to StageStartDate instead of StageStDate
but for some reason this makes the filterExpression blank.
Hi, I have a RadGrid with AllowFilteringByColumn="True" and multiple columns with with the properties set up for filtering, like so:
AutoPostBackOnFilter="false" FilterControlWidth="100%" CurrentFilterFunction="StartsWith" ShowFilterIcon="false" FilterDelay="4000"
When I filter by 1 column, it works fine. Then I filter by an additional column, it works fine.
The problem seems to be when I clear those 2 column filters at the same time. The first column that is cleared, retains the filter value.
Another option would be to only do the filter when the user hits <enter>. After thinking about it, this may be the better choice, anyway, as it is more what the users are accustomed to. I see a bunch of old answers on how to do this, but nothing very current.
Thanks!
Is there a way to search for files in the directories when using the Document Manager/Image Manager. I see some code samples that allow for filtering in the selected folder, however that only filters one level and not sub directories. Looking for a way to search filenames through all sub folders.
Hi,
Could you, please help me find code examples for how to format filter dropdown items of decimal and datetime fields(columns) in telerik:RadGrid.
We need a comma separator for decimal fields. Also, there is a chance of negative values, so in that case, we need to show its absolute value(within parentheses).
In the case of datetime fields, we need only the date without the time part (date format will be different for different agencies).
We changed the format of Invoice Date column in ItemDataBound event as below.
dataItem["Date"].Text = rowItem.Date.ToString(AgencyDateFormat);
But it only changed the grid column values, not the filter dropdown.(image of mentioned issue is given below)
We changed the format of Amount column in ItemDataBound event as below.
dataItem["Amt"].Text = string.Format("{0:0,0.00;(0.00)}", rowItem.Amt);
But it only changed the grid column values, not the filter dropdown.(image of mentioned issue is given below)
What we need is for the values shown in the filter will be in the same format of the corresponding column.
I solved this issue by using following code:
private void RadGrid_GridFilterCheckListItemsRequested(object sender, GridFilterCheckListItemsRequestedEventArgs e)
{
string filterKey = e.Column.UniqueName;
List<string> listOfItems = GetList(filterKey);
foreach (var item in listOfItems)
{
if (e.Column.DataType == typeof(DateTime))
{
DateTime datimeObj;
if (DateTime.TryParse(item, out datimeObj))
{
e.ListBox.Items.Add(new RadListBoxItem
{
Text = datimeObj.ToString(AgencyDateFormat),
Value = item
});
e.ListBox.DataTextFormatString = AgencyDateFormat;
}
}
else if (e.Column.DataType == typeof(decimal))
{
decimal moneyObj;
if (decimal.TryParse(item, out moneyObj))
{
e.ListBox.Items.Add(new RadListBoxItem
{
Text = string.Format("{0:0,0.00;(0.00)}", moneyObj),
Value = item
});
}
}
else
{
e.ListBox.DataSource = listOfItems;
}
}
e.ListBox.DataBind();
}
There is one more issue I'm facing. If the column contains a null or empty string, then I need to show them as "(Empty)" in the filter drop-down. How to do this?
We will appreciate your help.
Thanks