Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
42 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
5 answers
389 views
Hi,
In my page, when clicking on generate new image linkbutton of the radcaptcha, the captcha image refreshes once.
but when clicking on second time, no postback happens.
please provide your feedback

Thanks
Jiju
Rumen
Telerik team
 answered on 07 Feb 2025
3 answers
90 views

Checking the current demos I noticed you are still using the WebComponentsIcons font for the icons like in RadDock. Where can I find a list of the Icons inside that font along with the codes used for each icon? KendoUI icon fonts listed here (List of Icons in the Telerik and Kendo UI Web Components Icons System | Design System Kit) don't match.

 

Thank you

Rumen
Telerik team
 answered on 04 Feb 2025
1 answer
45 views

Hello Telerik Team,

Our customers are using the Telerik Menu component, but they have noticed that its keyboard functionality does not align with the web accessibility standards outlined in the W3C ARIA Authoring Practices. You can review these guidelines at the following link: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/. The page also includes a demo that showcases the expected keyboard behavior for menus.

Is there a way to address these keyboard accessibility issues? If not, are there any planned updates or changes in upcoming releases that will resolve this?

Thanks in advance,

Judy

Rumen
Telerik team
 answered on 30 Jan 2025
2 answers
98 views
Hi, I'm using in asp.net a NumericTextBox control, with a lower and upper limit value, but I don't know how to set that only integers are displayed, it seems that the limits and the maximum number of digits equal to 4 allow to limit the damage inserting years, but the '.' is displayed to separate the thousands

How do I avoid it? Thank you
<telerik:RadNumericTextBox runat="server" ID="txtFirstYear" RenderMode="Lightweight" MaxLength="4" MaxValue="2030" Visible="true" EmptyMessage="" MinValue="1998" CausesValidation="True" Culture="it-IT" DataType="System.Int32">
    <NumberFormat DecimalDigits="0"  />
</telerik:RadNumericTextBox>

Andrew
Top achievements
Rank 2
Iron
 answered on 28 Jan 2025
2 answers
231 views

How to changes the color(background ) of Parent and children in the radGantt(Treelist View)?

 

Rumen
Telerik team
 answered on 24 Jan 2025
1 answer
38 views

My ASP.NET Web Form has a RadTabStrip with 3 different tabs. The first tab has the username and password, the second tab has the permissions, and the third tab has the clients. The username and password have RequiredFieldValidators on them.

I have noticed that whenever I go from one tab to another, the Windows TextBox Control txtPassword's Text field is getting reset, causing the page to not validate whenever tabs 2 or 3 are shown.

I created a hack to fix this:

Protected Sub RadTabStrip1_ClientTabSelecting(sender As Object, e As RadTabStripEventArgs) Handles RadTabStrip1.TabClick
    Page.Validate()
    If Me.IsValid() Then
        If Not String.IsNullOrWhiteSpace(txtPassword.Text) Then
            ViewState("password") = txtPassword.Text
        End If
    Else
        If String.IsNullOrWhiteSpace(txtPassword.Text) Then
            txtPassword.Text = ViewState("password")
        End If
        If String.IsNullOrWhiteSpace(txtConfirmPassword.Text) Then
            txtConfirmPassword.Text = ViewState("password")
        End If
        Page.Validate()
        If Not IsValid() Then
            MultiView1.ActiveViewIndex = 1
            RadTabStrip1.SelectedIndex = 0
            RadMultiPage1.SelectedIndex = 0
        End If
    End If
End Sub

I do not like storing their password in the ViewState, but it works.

Almost.

The Submit button is on the bottom of the page, contained within a RadToolBar.

Protected Sub RadToolBar1_ButtonClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadToolBarEventArgs) Handles RadToolBar1.ButtonClick
    Dim rb As Telerik.Web.UI.RadToolBarButton = e.Item
    Dim clientList As List(Of Client) = ViewState("MyClientList")
    If rb.CommandName = "Save" Then

There is a breakpoint on that line of code, but Validation fails before that code is reached.

By this point, my customers are on Tab 3, and they have no way to tell that the txtPassword control has had their input deleted on Tab 1.

Has anyone ever experienced a Windows Control like this password getting cleared whenever the RadTabStrip Index changes?

How do I fix this?

Rumen
Telerik team
 answered on 23 Jan 2025
2 answers
36 views

I am able to drag and drop a message from old Outlook into Telerik File Explorer, but I can not do that in new Outlook. I am not sure if Telerik File Explore support that. And does Telerik File Explore support copy paste out look messages. 

Rumen
Telerik team
 answered on 23 Jan 2025
2 answers
77 views

Hello!  This is my first time using a RadEditor.  I've figured out a lot of the settings. 

However, I am still having problems with the HTML edit mode.  The content is surrounded by a too narrow border/container.  When entering large amounts of text, it wraps and is hard to read.  Is there any way to remove this border/container, or make it wider, so that the whole width of the RadEditor is available for HTML content?

Thanks!

Nancy
Top achievements
Rank 1
Iron
Iron
 answered on 22 Jan 2025
2 answers
105 views

Hi,

It seems that something has changed on the PostbackUrl behavior of the RadButton. When we click, there is no navigation to the PostbackUrl.

This leads to big issues in running applications.

Marc

Jose-Miguel
Top achievements
Rank 2
Iron
 answered on 22 Jan 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?