Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
132 views
Hello,

I want to stop the grid from highlighting text when the user clicks, holds, and drags across the cell.  Is this possible?
Attached is an image of what I'm trying to avoid.
I want a single click to highligh the row (which works fine), a double click to return a postback (works fine), but don't want any text highlighted on single click / drag.

Thanks!
William
Top achievements
Rank 1
Iron
 updated answer on 26 Mar 2024
0 answers
20 views

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.

John
Top achievements
Rank 1
 asked on 25 Mar 2024
1 answer
9 views

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.

 

Rumen
Telerik team
 answered on 21 Mar 2024
2 answers
62 views

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?

Rumen
Telerik team
 answered on 21 Mar 2024
1 answer
21 views

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

Rumen
Telerik team
 answered on 20 Mar 2024
1 answer
27 views

Dear Sir,

Can I enable grid column total function like below screen? thanks

 

Rumen
Telerik team
 updated answer on 19 Mar 2024
1 answer
30 views

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.

Rumen
Telerik team
 answered on 13 Mar 2024
1 answer
29 views

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.

Rumen
Telerik team
 updated answer on 12 Mar 2024
1 answer
28 views

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!

Vasko
Telerik team
 answered on 12 Mar 2024
1 answer
41 views

Hi,

Does anyone know where to find the EOL dates for each version, especially 2016.1.225.45 and 2020.1.219?

Thanks.

Rumen
Telerik team
 answered on 12 Mar 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?