Hi Dinko and team ,
Tried to migrate from Visual studio 2010 project along with Telerik.WinControls.UI.dll - Version - 2013.3.1.1127 to Visual studio 2022 with Telerik.WinControls.UI.dll - Version 2023.1.314.
There are random stackoverflow exceptions throughout project. In older version Telerik 2013.3.1.1127 is working with no issues only in Visual studio 2022 Telerick 2023.1.314 creating issue.
Found the RadDropDownList is the root cause So
As Dinko | Tech Support Engineer Telerik suggested in forum tried the below code
cmbValveSize_SelectedIndexChanged -= cmbValveSize_SelectedIndexChanged;
cmbValveSize.SelectedValue = 3;
cmbValveSize.SelectedIndexChanged += cmbValveSize_SelectedIndexChanged;
The stackoverflow is got resolved at this point so we applied the same code wherever SelectedValue getting assigned throughout project but when we call recursive functions the SelectedValue is getting assigned as null since the assigned value is based on value member signature and datasource datatable also having value.
private void setComboBoxIndexChanged(RadDropDownList combobox, object selectedValue, Telerik.WinControls.UI.Data.PositionChangedEventHandler eventHandler)
{
if (eventHandler != null) { combobox.SelectedIndexChanged -= eventHandler; }
if (int.TryParse(Convert.ToString(selectedValue), out int result))
{
combobox.SelectedValue = result; //result having the value but assiging as null
if (combobox.SelectedValue == null && combobox.Name == "cmbValveSize")
{
DataTable dtValues = (DataTable)cmbValveSize.DataSource;
if(dtValues.Rows.Count > 0)
{
}
else
{
}
}
if (eventHandler != null) { combobox.SelectedIndexChanged += eventHandler; }
}
So what is causing in version 2023.1.314 RadDropDownList? why we need to do subscribe and unsubscribe for Telerik 2023.1.314 but not for Telerik 2013.3.1.1127 . What is the change between2013.3.1.1127 and 2023.1.314.
When is the change and Which version will overcome the stackoverflow issue in Visual studio 2022 after 2013.3.1.1127.? - Since we need the latest Telerik version for VS 2022 application.
Unsubscribe and subscribe is not a solution it is affecting the other functionalities of project.
Please suggest what we can do apart from Unsubscribe and subscribe.
Thanks,
Maheswari
Hi,
I have a control that is opened as a floating HostWindow. This control is composed of a RadPageView and a RadPanel and all these elements have the margins and paddings set to 0. Also, BorderStyle properties are set to None but I still see the borders there (see image attached).
There is any way to remove these borders?
Hi, I'm trying to adapt my program to all type of screens with different scale settings and I encounted some difficulties with the RadColorPicker Dialog.
As you can see in the image below I tested my RadForm in a screen with the scale setted to 200% and when I open the RadColorPicker I cant see some controls that are inside of the Dialog.
I tried different setting and the only one where I can see all the controls is with the DPI aware setted to false but the texts are pixelated.
This is one of the test I made to set the DPI aware on my app.manifest:
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
There's a way to set the DPI aware for the RadColorPicker dialog?
Thanks in advace.
Hi,
I have a RadDropDownList control in my WinForms window. Right now, when I click on this control for the first time since opening a window, the whole text inside RadDropDownList text box is selected. What I would like to happen is to just set cursor at the end of existing text with no text selection.
I tried handling most of the events for RadDropDownList (like GotFocus or Click) with:
private void OnGotFocus(object sender, EventArgs e) { SelectionLength = 0; SelectionStart = Text.Length; }
When I checked during debugging, the selection is properly changed by my method, but in the end the text is selected whole by something else after that.
How can I get no text selection when clicking first time into this RadDropDownList text box?
Any ideas?
Thanks
Wojtek
hello, i have use the approach from article https://docs.telerik.com/devtools/winforms/knowledge-base/display-and-edit-html-text-in-grid-cells to
show html in gridview ,but after set the datasource , the html style didn't display. Just like the following image ,i have set the color to red use font element:
the second problem is that ,when the grid view render finished ,the first cell of the gridview is selected and the backgroud color is blue, when i set the second cell to selected , the first cell bgcolor not changed. the method clearSelection of the GridView cann't work,even though i called this method in constructor ,the first cell bgcolor is still blue.
thanks
Hi,
Is it possible to have multiple grids in your chart when working with multiple axes? I only get the grid for the last axis, which is the yellow one in the image below. I would like to have a grid for each axis.