Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
140 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
236 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
599 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
263 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
228 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
225 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
196 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
1 answer
1.7K+ views

This ASP.NET C# .NET 4.5.1 application was created with Telerik in 2018? and has not been used for a few years because of the pandemic. The programmer who knew Telerik retired and I have no experience with Telerik.  Now, it will not compile. This software is a culinary reservation system, so nobody is able to make reservations. It gets the following error:

Severity Code Description Project File Line Suppression State
Error 'Could not load file or assembly 'Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)' GTCC_Culinary C:\Users\ssjohnson\OneDrive - Guilford Technical Community College\Documents\Projects\Culinary\GTCC_Culinary-main\GTCC_Culinary\LC

I believe that this has something to do with a gridview because an error I saw on the server pointed to line 335.

Here are the Telerik references in the project:

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 01 Sep 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?