Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
5 views

Hello

I have several RadGrids with custom css applied to the columns.  Everything works as intended.  However, when a column is sorted, telerik applied the .rgSorted css and this completely defeats the purpose of the gird (in our application).  What is the procedure to DISABLE or DELETE the .rgSorted css, as this particular class will never be needed or used. 

Note: any css class definition with !important cannot be used in this context.

Thank you

Rumen
Telerik team
 answered on 13 Mar 2025
0 answers
9 views

I have encountered a niche issue I'm trying to solve. I have a grid with EnableViewState set to false. Based on this, the control state within the grid is used to manage things like sort expressions.

My issue is simply this:

  1. Page load
  2. Programmatically add columns to a grid
  3. On the UI, sort on a column, and its name for example is 'My Column', this becomes 'My Column ASC'
  4. On our app are objects in which its name we can add as a column to the same grid
  5. Somewhere in our app I rename the object's name to something else like 'My New Column' - note the sort expression is still 'My Column ASC'
  6. Back to the grid, I cause a postback (e.g., rebind) or reorder a column, or sort, etc.
  7. The columns need to be re-added (I've covered a case to exclude the column with the old name)
  8. Before columns are added again, I manually clear sort expressions on the grid
  9. While debugging, I found that in the ColumnCreated event, the grid sort expressions restore to what they were before the postback, and I see 'My Column ASC' - I find that whenever adding a SortExpression referencing a non-existing column, the program always breaks

 

I debugged against a few events of the grid and found that in ColumnCreated (after NeedDataSource) the grid restored its sort expressions from what I presume is the control state. So, this was between NeedDataSource and ColumnCreated.

 

When exactly did the sort expressions get restored, and is there an event I can listen to?

Chris
Top achievements
Rank 1
 asked on 13 Mar 2025
2 answers
9 views

I'm experiencing an issue where the page becomes unresponsive for a long time whenever any Telerik control (such as refresh or loader) is triggered. The page keeps loading indefinitely, causing significant delays, and eventually, the page becomes unresponsive.

Additionally, the following error appears in the browser console:

Uncaught Sys.WebForms.PageRequestManagerTimeoutException: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
at Error.create (https://test.plc.com/GS/Telerik.Web.UI.WebResource.axd?...:6:2736)
at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)
at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)

The issue arises when interacting with Telerik controls that trigger a page request, causing the page to hang and ultimately become unresponsive.

 

issue started from Feb 17 2025

 

 

Sanju
Top achievements
Rank 1
Iron
 answered on 12 Mar 2025
1 answer
5 views
I have been having this issue for a few days.  When I add a caption to the MasterTableView, it is always being displayed at the bottom of the grid, never at the top.  Is this normal, and can I change this somehow?  
Rumen
Telerik team
 answered on 10 Mar 2025
10 answers
1.2K+ views
I am using the latest RadControls for ASP.NET in MOSS 2007 and am getting a blank page with a 403 FORBIDDEN message.

The RadGrid is in a UserControl consumed by the page and has Ajax enabled.

  • I have full trust enabled.
  • I have both RadAjax.Net2 and RadGrid.Net2 added as SafeControls (as is my UserControl).
  • The folders (hosting the dlls, user control and RadControls files) all have read & execute access enabled for the Thread Account.
  • The site uses forms based authentication.
I get the following event message:

Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 7/14/2008 1:06:34 PM
Event time (UTC): 7/14/2008 6:06:34 PM
Event ID: cf3b8e1113e8480987b80b3a2b91176c
Event sequence: 3
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1939723128/Root-7-128605323920557239
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\<snipped>\
    Machine name: <snipped>
 
Process information:
    Process ID: 1808
    Process name: w3wp.exe
    Account name: <snipped>
 
Request information:
    Request URL: http://<snipped>/custpages/rcereturnexpress.aspx
    Request path: /custpages/rcereturnexpress.aspx
    User host address: <snipped>
    User: <snipped>
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: <snipped>


Any help is greatly appreciated.
jiyan
Top achievements
Rank 1
Iron
 answered on 18 Feb 2025
1 answer
29 views

With the R2 2022 release Telerik added this support via a skin (BlackMetroTouch) but it seems it is limited to a server side setting and can't be done via client side? In particular I'm looking to do this for the RadGrid and change it via a user toggle and not have to make a post back to reload the page. Please let me know if there exists a way to do it at client-side.

Thanks,
Gerry

Vasko
Telerik team
 answered on 17 Feb 2025
36 answers
1.9K+ views
Hi all,

I'm wondering if there is a way around excel's limit of 65000 rows. In the radgrid, the database is able to bind over 65000 rows and the users are trying to export this to excel. Due to the nature of excel (where a sheet cannot hold more than 65k rows), the application gives an error.

Can anyone suggest a way around this?
Is it possible to split the data source into seperate sheets within a workbook? Or would we have to split the data into 2 excel workbook files?

Sajid
Top achievements
Rank 1
Iron
 answered on 14 Feb 2025
1 answer
23 views

Hi,

We are getting the below error in radG and telRad calender etc.. properties are not working properly in visual studio 2019 4.5 .Net Framework and Telerik.Web.UI 2009.1.402.20 dll is used, when I click any link in grid then just loading not giving result, can anyone please help?

http://localhost:63648/WebResource.axd?d=voFyyN8dvBwW_B2Y7FVU-0v-b8hCvMFUuGTx5hVDM1rqxAp8wKgXAToLnmNbdlnxHBOLUkaqq_U_0pO0VsUG_T9IfSlUf_r5ftxqNxAthfXE57hZKdbPO85ezSDbr-LVBJ3Hg7mSvgJ8LozjsG3Ou4TJxZZrJc_U7ARWEn03vti-x_XufTEaKLkSIM7ML4ny0&t=638687597346095926

Uncaught Error: Unexpected ajax response was received from the server.
This may be caused by one of the following reasons:

 - Server.Transfer.
 - Custom http handler.
- Incorrect loading of an "Ajaxified" user control.

Verify that you don't get a server-side exception or any other undesired behavior, by setting the EnableAJAX property to false.
    at _1.CheckContentType (WebResource.axd?d=voFyyN8dvBwW_B2Y7FVU-0v-b8hCvMFUuGTx5hVDM1rqxAp8wKgXAToLnmNbdlnxHBOLUkaqq_U_0pO0VsUG_T9IfSlUf_r5ftxqNxAthfXE57hZKdbPO85ezSDbr-LVBJ3Hg7mSvgJ8LozjsG3Ou4TJxZZrJc_U7ARWEn03vti-x_XufTEaKLkSIM7ML4ny0&t=638687597346095926:1521:7)
    at _1.HandleAsyncRequestResponse (WebResource.axd?d=voFyyN8dvBwW_B2Y7FVU-0v-b8hCvMFUuGTx5hVDM1rqxAp8wKgXAToLnmNbdlnxHBOLUkaqq_U_0pO0VsUG_T9IfSlUf_r5ftxqNxAthfXE57hZKdbPO85ezSDbr-LVBJ3Hg7mSvgJ8LozjsG3Ou4TJxZZrJc_U7ARWEn03vti-x_XufTEaKLkSIM7ML4ny0&t=638687597346095926:1316:8)
    at _49.onreadystatechange (WebResource.axd?d=voFyyN8dvBwW_B2Y7FVU-0v-b8hCvMFUuGTx5hVDM1rqxAp8wKgXAToLnmNbdlnxHBOLUkaqq_U_0pO0VsUG_T9IfSlUf_r5ftxqNxAthfXE57hZKdbPO85ezSDbr-LVBJ3Hg7mSvgJ8LozjsG3Ou4TJxZZrJc_U7ARWEn03vti-x_XufTEaKLkSIM7ML4ny0&t=638687597346095926:404:4)
Vasko
Telerik team
 answered on 14 Feb 2025
1 answer
17 views

Afternoon,

I am using a RadGrid with Batch Editing.  Under a couple of conditions I want to be able to stop a cell from being edited.

I've followed another example using the OnBatchEditOpening client event:

        function onBatchEditOpening(sender, args) {
            args.get_tableView().get_dataItems();
            var cell = args.get_cell();
            var cellValue = cell.innerText;
            var columnUniqueName = args.get_columnUniqueName();
            var row = args.get_row();
            var item = row.control;
            var itemIndex = item.get_itemIndex();

            if (itemIndex > -1) { // if itemIndex is -1 it means this is a new row
                if ((columnUniqueName === "Process_type" && cellValue === "L") ||
                    (columnUniqueName === "Process_order" && cellValue === "1")) {
                    args.set_cancel(true);
                }
            }

It just so happens that when the process type is L and process order is 1 will occur in the same row, so all other rows should remain unaffected.

It works fine - I click in the row with 1 and L, and the process order and process type cells are not editable. However, when I then click on a field in another row I get this error:

This only occurs when I've clicked in the row with the non-editable cells first.

Any ideas on how to clear this?

Kind regards,

Richard

Vasko
Telerik team
 answered on 10 Feb 2025
2 answers
41 views

Hi

I have a Telerik rad grid which populates data, one of the columns is date and is in format of DD-MMM-YY.

when I click on the header of the column to sort, it doesnt sort it correct in ascending date or descending order. Im assuming its because of the format as the month is a string.

Can anyone advise how to get it to sort correctly please?

Thanks

Rakhee

Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 08 Jan 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Krasimir
Top achievements
Rank 3
Iron
Iron
Anas
Top achievements
Rank 1
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
Shaimaa
Top achievements
Rank 1
Iron
Joe
Top achievements
Rank 2
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Krasimir
Top achievements
Rank 3
Iron
Iron
Anas
Top achievements
Rank 1
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
Shaimaa
Top achievements
Rank 1
Iron
Joe
Top achievements
Rank 2
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?