I have a Telerik RadGrid that has a DetailTable that can be expanded by the user. The DetailTable contains several selectable rows. The user is able to select some rows, then click a "Process Data" button that saves the row data in a Visual Basic code-behind file.
The RadGrid uses HierarchyLoadMode="conditional" to keep track of the DetailTable.
Two Problems-
1. When a user:
- expands the DetailTable,
- selects a row,
- collapses the DetailTable,
- clicks "Process Data,"
no data is saved because RadGrid.SelectedItems has 0 items. Even though the selected row is shown as selected in the UI.
However, if a user:
- selects a row,
- collapses the detail table,
- clicks "Process Data" + gets an error from the VB saying "No rows selected,"
- expands the detail table again,
- selects the row again,
- clicks "Process Data" again,
then the data will be saved because RadGrid.SelectedItems will include the row. Perhaps this is a bug?
In other words, a post back is needed to clear the detail table selections before RadGrid.SelectedItems actually includes items that have been selected in a collapsed HierarchyLoadMode="conditional" table.
2. Is there a way to have selections persist across pagination? Eg. If the user expands the DetailTable, selects a row, navigates to "page 2" of the detail table, then navigates back to "page 1," their selection is not saved.
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.
We have an application which is using Telerik RadGrid controls - RadGrid.net2 dll.
Our security team has reported vulnerabilities in this application and a lot of them are in these RadControls, for example RadGrid.js
client DOM stored code injection. They are looking us to fix these.
What is the solution for this?
Hi,
Experimenting with RadEditor's NewLineMode we find that mode "P" (default) is acting weird when I press Enter when positioned in a DIV.
A new DIV is created then. A very undesirable result, why not simply create a new <p> inside the DIV?
Marc
Dear Sir,
Can I enable grid column total function like below screen? thanks
We have a RadAsyncUpload control on a page. The "Select" button is displayed to allow the user to choose files. All good. What we'd like is a way to detect when the Select button is clicked to clean up other parts of the page.
For example... we also have a RadGrid on the page. The user might have a row open in an EditForm. We'd like to close that edit form when the user clicks the Select button of the RadAsyncUpload control. I don't see an obvious client side event for that, and the Select button doesn't trigger a server side event.
Is there a client-side equivalent for the RadGrid ClearEditItems method that could be called as part of the click event on the RadAsyncUpload Select button?
Any suggestions would be appreciated.
Telerik.web.ui version 2020.1.219.45 vs the older 2014.2.724.40 DLL. For security reasons I must use the newer library.
Using the most basic code below both can display simple HTML.
However, complex HTML like the attached file (rename txt to html) the old DLL displays fine, the newer DLL displays a crazy mess.
The attached HTML also shows fine in browers like Chrome.
I have tried filters such as EditorFilters.ConvertInlineStylesToAttributes, PdfExportFilter.
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadEditor ID="RadEditor1" runat="server"> </telerik:RadEditor>
Thank you for your advice.
Greetings,
I'm currently trying to revamp one of my pages from server side binding to a web service binding and encountered a hickup.
The page is as follows (see picture attached):
The Outside is a RadSplitter.
On the left side of the RadSplitter is an update panel, where inside is the RadTreeView.
On the right side, also inside an update panel, is a RadGrid.
The RadTreeView gets a basic set of nodes ("stations") on creation, but everything after that is loaded on demand by webservice. If a "station" is expaned, and the webservice is triggered and supplies nodes to the radgrid. This works correctly.
If I click on a "station", a client side event is triggered, which expands the node (therefore triggering the webservice and supplying nodes) and also calling the RadGrid to rebind (by client side). The Rebind triggers the OnNeedDataSource event of the RadGrid, where it loads its data server side.
The problem is with the click & expand, as the nodes are then only briefly visible in the RadTreeView and immediately removed again.
Is this a know problem? What can I do? I need the nodes in the tree but also the data in the RadGrid.
I made a video of the error, but it seems I cannot upload the video here. I also created a very basic test project.
I'm using Telerik 2023.1.117.45.
Thank you in advance!
Hi,
Does anyone know where to find the EOL dates for each version, especially 2016.1.225.45 and 2020.1.219?
Thanks.