Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
144 views

Hi,

I have no access to server side code or the configuration of RadEditor, but need to add a custom toolbar button to the Editor at runtime using client-side Javascript.  I can see a Telerik.Web.UI object exposed in the browser, but cannot locate any documentation on its methods.  Any pointers would be welcomed.

Many thanks

Tim
Top achievements
Rank 1
 updated question on 09 Sep 2022
0 answers
134 views

Hi,

I have a slider with long text, the text will show in two lines but does not fit well. See attached image.

How can I remove the space between the lines so it can fit? or how to style the text so that it will show nicely?

Thanks in advance,

Omar

 

Omar
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 08 Sep 2022
1 answer
229 views

Sometimes when using accessing the RadDatePicker in my web apps, when a user clicks into the control and touches their scroll on their mouse, the date will change.  Several times I've had users put in the correct date only to change it by accidentally touching the scroll button on their mouse.  This is even more prevalent when the users mouse has a touch scroll vs a wheel scroll.

I had the same problem with the RadNumericTextBox but found a post that provided <IncrementSettings> tag.

Is there a way to turn off this scrolling function for the RadDatePicker?

Thanks, T.J.

Rumen
Telerik team
 answered on 08 Sep 2022
1 answer
585 views

In our applications using the ASP.net  Ajax control, this control comes in the retired JQuery version. Currently using the version like 1.0. 

Please suggest how can we upgrade the JQuery version so that we can avoid the vulnerability issue.  

 

Rumen
Telerik team
 answered on 08 Sep 2022
1 answer
257 views

Recently we upgraded Telerik from version 2015.2.826.45 to 2022.2.622.45.

In old version, the keyboard navigation works well. However, in new version, the keyboard navigation doesn't work.

From the attached image, we can see that in new version, after the Calendar is popped up, it's not focused, and cannot accept keyboard input. How to resolve this issue?

 

 

 

Rumen
Telerik team
 answered on 08 Sep 2022
1 answer
221 views

In demo Scheduler for WebForms Ajax c# you use <%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>

Where I can get it ?

Please help

Thanks

Anatoly

Valentin Dragnev
Telerik team
 answered on 05 Sep 2022
0 answers
215 views

I recently upgraded from ASP.NET AJAX 2014 to 2022 and ran into an issue with a RadComboBox. It can be reproduced with this code:

Test.aspx
            <telerik:RadScriptManager ID="scriptManager" runat="server" />
            <telerik:RadComboBox ID="rcb" runat="server" Label="Medication:" AutoPostBack="true"
                Width="250" OnSelectedIndexChanged="rcb_SelectedIndexChanged">
                <Items>
                    <telerik:RadComboBoxItem Text="-- select --" Value="" />
                    <telerik:RadComboBoxItem Text="Benztropine 0.5 mg " />
                    <telerik:RadComboBoxItem Text="Buspirone 10 MG" />
                    <telerik:RadComboBoxItem Text="Haloperidol 100mg/ml" />
                    <telerik:RadComboBoxItem Text="Metaprolol 25 mg" />
                    <telerik:RadComboBoxItem Text="Quetiapin/Seroquel 400 mg" />
                    <telerik:RadComboBoxItem Text="Trazadone 150 mg" />
                    <telerik:RadComboBoxItem Text="Vitamin D2 50,000 units" />
                </Items>
            </telerik:RadComboBox>
            <label>SelectedIndex</label> <asp:Label ID="Label1" runat="server" Text=""></asp:Label>

Test.aspx.cs
        protected void rcb_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            Label1.Text = rcb.SelectedIndex.ToString();
            rcb.SelectedIndex = 0;
        }

When "Benztropine 0.5 mg " is selected, the SelectedIndex in the selected index changed method is incorrectly set to 0, instead of 1. Selecting any other item in the list results in the correct SelectedIndex. I spent a lot of time debugging the code until I noticed that "Benztropine 0.5 mg " has a space at the end.

I found two workarounds:

1. Trim the trailing space from text.

2. Add values for each item.

This was not as issue with the old 2014 version. Is this a bug or am I missing something?

Thanks,

Tim

Tim
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 02 Sep 2022
9 answers
1.3K+ views
I have an issue to assign/change different columns to MasterTableView & GridTableView based on user conditions. The grid structure and its columns all are specified in aspx file. 
And I am assigning datakeys to mastertable view in page_load().

RadGrid.MasterTableView.DataKeyNames = new string[] { "column1, column2" };​ 
Its giving error, the column neither a DataColumn nor a DataRelation for table xxx. Please guide how to assign datakeys programatically to mastertable view and grid view. 
Thank you,
Madhavi
Herbert
Top achievements
Rank 1
Iron
 answered on 02 Sep 2022
1 answer
188 views

Hi,

 

I have a RadGrid consisting of a number of GridTemplateColumn's containing InsertTemplateColumns. When an item is inserted I perform validation on the C# side and either perform the insert or display an error message with RadWindowManager and RadAlert. The problem is when validation fails and an error message is displayed the grid is reloaded and all of the insert input fields are emptied, forcing the user to re-enter all the information. How can I validate the insert and display an error message without reloading the grid?

Thanks

Attila Antal
Telerik team
 answered on 02 Sep 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?