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

I essentially would like users to paste in their data to a RadSpreadsheet and then click a button. Once Clicked I can process the data and save the data to a database.  However, I would also like to manipulate the spreadsheet and rename the columns from ABC to a heading I choose.

Can you point me on how to change the column headings?

Can you point me into how to process the pasted data into a datatable or object when a button is clicked on the page?

Thanks!

Vasko
Telerik team
 answered on 07 Jul 2025
1 answer
20 views

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.

Details:

  • 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.

 

Analysis So Far:

  1. 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.

  2. 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="">
    3. Menu Container Differences:
  • 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.

 

Questions:

  • 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?

 

What I’m Avoiding for Now:

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!

Vasko
Telerik team
 answered on 07 Jul 2025
1 answer
18 views

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

 

Attila Antal
Telerik team
 answered on 04 Jul 2025
1 answer
11 views

Hello,

In the demo (https://demos.telerik.com/aspnet-ajax/editor/examples/trackchanges/defaultcs.aspx):

  1. When I click the B/I/U buttons, the editor logs multiple Reformat actions and repeatedly applies the B/I/U tags. How can I prevent this?

  2. Is there a way to disable Reformat actions in Track Changes mode? I only need to track insertions (ins) and deletions (del).

Thank you!

 

 

 

Rumen
Telerik team
 answered on 03 Jul 2025
1 answer
18 views

Hi

Im using Visual Studio 2022 and c#

I have a telerik RadGrid within my apsx page and I have set editMode="batch"

One of the columns SOStatus is a raddropdownList, with set items. When I select from the dropdown list and click on saveChanges within BatchEditCommand the SOStatus is blank, even though I have selected something. Not sure why?

Here is my ASPX

<telerik:GridTemplateColumn UniqueName="SOStatus" DataField="SOStatus" HeaderText="SO Status">
                                        <HeaderStyle Width="80px" />
                                        <ItemStyle Width="80px" />
                                        <ItemTemplate>
                                            <%# Eval("SOStatus") %>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <telerik:RadDropDownList ID="rdSOStatus" runat="server"  DataValueField="SOStatus" DataTextField="SOStatus" Width="110%">
                                                 <Items>
                                                        <telerik:DropDownListItem Text="" />
                                                        <telerik:DropDownListItem Text="Sale" />
                                                        <telerik:DropDownListItem Text="Pull Forward" />
                                                        <telerik:DropDownListItem Text="Risk" />
                                                        <telerik:DropDownListItem Text="Drop for this week" />
                                                        <telerik:DropDownListItem Text="Drop" />
                                                    </Items>

                                            </telerik:RadDropDownList>
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>

 

 

and here is the BatchEditCommand c# code

protected void rg_SalesPlan_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
        {

            var batchEditingCommands = (List<GridBatchEditingCommand>)e.Commands;

       
            foreach (GridBatchEditingCommand batchCommand in batchEditingCommands)
            {
                Hashtable oldValues = batchCommand.OldValues;
     
                Hashtable newValues = batchCommand.NewValues;
         

             
                string SOStatus = newValues["SOStatus"].ToString();
               
                string OrigSOStatus = oldValues["SOStatus"].ToString();
               

}

              
Rumen
Telerik team
 answered on 02 Jul 2025
5 answers
834 views
Greetings,

Before I state my quesiton, I want to make it clear that I am using a very old version of the Rad Controls or in other words I do not have the latest RadConrols asp.net ajax. With that being said, the issue I am having is being able to change the text of my yes and no buttons on my rad confirm dialog box. Currently this is how I am calling my rad confirm and everything is working. 

VB.NET code that calls the radconfirm

Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

 radAjax.ResponseScripts.Add("radconfirm('Your answers have been submitted.', callBack,  290, 110, '', 'Answers Submitted');")

End Sub



ASP Page code:

    function callBack(args) {

         if (args) {

             document.getElementById('<%= btnRedirect.ClientID %>').click();

         }
     }


  <div>
  <asp:Button ID="btnRedirect" OnClick="btnRedirect_Click" runat="server" Text="" />
  </div>


  <radW:RadWindowManager ID="RadWindowManager1"  EnableShadow="true" runat="server">
  </radW:RadWindowManager>




How would I be able to change the text in my radconfirm, by still using this method in calling my prompt.....?

I also found a localization file under my radcontrols folder which is an XML file that display this information:

<?xml version="1.0" encoding="utf-8" ?>
<localization>
    <string id="Maximize">Maximize</string>
    <string id="Minimize">Minimize</string>
    <string id="Close">Close</string>
    <string id="Restore">Restore</string>    
    <string id="PinOff">Pin Off</string>
    <string id="PinOn">Pin On</string>
    <string id="ConfirmMessage">Are you sure?</string>
    <string id="PromptMessage">Enter value:</string>
    <string id="Ok">Ok</string>
    <string id="Cancel">Cancel</string>
    <string id="Yes">Yes</string>
    <string id="No">No</string>
    <string id="Loading">Loading...</string>
    <string id="Reload">Reload</string>    
    <string id="Alert">RadWindow alert</string>
    <string id="Prompt">RadWindow prompt</string>
    <string id="Confirm">RadWindow confirm</string>    
</localization>


I do not want to change the Text in this file because it would then affect all my rad confirm prompts on my other web pages.


Michal
Top achievements
Rank 1
Iron
 answered on 02 Jul 2025
3 answers
59 views

Good afternoon,

I'm currently running Telerik UI for ASP.NET AJAX R3 2023.  I am using the RadAsyncUpload with a AsyncHandler.ashx to copy the file to a RadUploadTemp on a file share.

This has been working perfectly for ages but recently large file updates have been failing e.g. a 2.1 GB file failing at 61%.  I'm being told this is due to a TCP Zero Window issue.

I assumed the chunked upload mechanism mitigates the issues caused by TCP window size restrictions, which can cause slowdowns or failures when uploading very large files in a single request. I am setting the upload ChunkSize value to 4194304.

I have the following settings in web.config:

  <system.web>    
    <httpRuntime maxRequestLength="2097151" executionTimeout="18000"/>
  </system.web>

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="4294967295"/>
      </requestFiltering>
    </security>
  </system.webServer>

Have you got any ideas as to why it might be failing for larger files, or what I can do to the configuration to prevent the TCP Zero Window error by pausing data transmission until the receiver is ready to accept more data?

Kind regards,

Richard

Rumen
Telerik team
 answered on 01 Jul 2025
1 answer
34 views

Hello Telerik Team,

 

We’ve received feedback from one of our customers regarding accessibility concerns with the RadMenu control. While we understand that the current RadMenu supports WCAG 2.1, the customer is aiming for full compliance with the WCAG 2.2 standard and has identified some gaps in that regard.

Specifically, they are requesting support for a scenario where a menu item both opens a new page and includes sub-menu items. They would like the behavior to follow the example described in this accessibility article:
https://hub.accessible360.com/kb/articles/529

Could you please advise: 

  1. If there is any workaround we can implement using the current RadMenu to meet this requirement?
  2. Whether there is an estimated timeline for when the RadMenu will support WCAG 2.2 natively?

 

We appreciate any guidance or recommendations you can provide to help us support our customer’s accessibility goals.

 

Judy Wang

Rumen
Telerik team
 answered on 27 Jun 2025
1 answer
14 views
Estou tendo um problema ao exportar meu arquivo para Excel, pois as linhas vem recolhidas, tem alguma forma de força as linhas a virem expandidas?
Rumen
Telerik team
 answered on 27 Jun 2025
1 answer
15 views

Dear,

I use RadNumericTextBox with these options: 
 MinValue = 0
 MaxValue = 9999999
 NumberFormat.DecimalDigits = 2
 MaxLength = 10
 ShowSpinButtons = true

I see specific problem when I use any decimals. When I click on arrows (or type keyboard arrows) it increases/decreases by 1, but sometimes it stops on specific number (e.g. for 8.42 arrow down do nothing or for 63.42 arrow up doesn't work). I think there is a problem with javascript rounding and 8.42 - 1 is sometimes like 7.419999999999. It looks like a inner bug of the component.

Is it possible to format number first and make validation of length aftewards?
Is there any workaround for it?

Thank you

Rumen
Telerik team
 answered on 24 Jun 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?