Telerik Forums
UI for WinForms Forum
2 answers
169 views

Hi,

I would like to have a grid with no cell selected by default. So every time it is loaded no CurrentCell is selected. Same when there is no selection and the grid is sorted by a column.

Right now, the grid marks the first cell as CurrentCell when it is loaded. I could solve it using the .ClearSelection() method but then I have the same problem when sorting: the first cell is marked as selected.

How can avoid this behavior and only set the CurrentCell when the user marks it?

Nadya | Tech Support Engineer
Telerik team
 answered on 15 Jan 2024
1 answer
538 views

Hi,

It seems after upgrading to the latest Nuget version of UI.for.WinForms.AllControls.Net70" (Version="2023.3.1114") I ran into the following issue when opening the designer :

System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Schema, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Le fichier spécifié est introuvable.
                        File name: 'System.Runtime.Serialization.Schema, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
                           at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
                           at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
                           at Microsoft.DotNet.DesignTools.Server.DesignToolsServer.LoadReferencedAssemblies(AssemblyName[] referencedAssemblyNames, HashSet`1 serverDependenciesNames, CancellationToken cancellationToken)

 

After the designer shows up, every custom user control I'm using on it (based on Telerik controls) completely disappear.

If I make a single change and save the file, I can confirm that all of them are gone, looking at the diff with Git.

I'm wondering if it's a Telerik or a Visual Studio issue, but either way, the result is that I can't work anymore on this project.


Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 11 Jan 2024
3 answers
142 views

Hi, I found out that for some languages like Hungarian <html> tag used in radLabel.text white spaces are escaped.

See an example below:

Is there a way to not remove these white spaces?

Br

Pawel

 

Nadya | Tech Support Engineer
Telerik team
 answered on 11 Jan 2024
0 answers
197 views

Hi all,

I want to set the initial state of a radCollapsiblePanel to expanded or collapsed. Then, I want to associate an event handler to handle user interaction that can expand or collapse the panel. I perform some operations to set the initial state. When I attach the event handler for the collapsed state, the event is triggered even if the user has not interacted with the panel.

I don't understand why.

Suggestions

Regards

Alessandro

Alessandro
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 09 Jan 2024
1 answer
129 views

My form have some RadCommandBar, when I click on OverflowButton then a dropdownMenu to show with default two item:

1. Add or Remove Buttons

2. Customize...

And then,  my mouse click on another control on my form, but I see that  RadCommandBar's DropdownMenu do not close.

I also try to some again, but do not anything change.

You can see my image I attached below. I use Telerik version: R3 2022 window form from Nuget package for Application .Net Core

Thank you so much.

Nadya | Tech Support Engineer
Telerik team
 answered on 09 Jan 2024
1 answer
204 views

Good evening, community,

After trying on my own and not being able to find a solution, I am in need of help.

Problem:

I have a radGridView control in a form called radGridView1. I have added columns to it, but I want the focus() and cursor to blink in the first cell of the first column when the form loads. This would allow me to start typing directly in the cell. I have tried everything I can think of, but I have not been able to achieve this.

What I have tried:

The closest I have come is with the following code:

I have commented out all of the code to show you what I have been doing, but I have not been able to get it to work. Please help me find a solution to my problem.

Thank you,

Community

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Jan 2024
1 answer
148 views

I have a grid that has 2 image columns - one for an edit icon and one for Delete.  I need separate icons to so they show properly when the row is highlighted and when it is not. I'm adding the icons as shown below. Each row will get these icons. However, if the value in the Relation column is set to Maker then there should be no Delete icon and the Delete event should not fire.

When I set e.Row.Cells["Delete"].Value = null;, nothing happens. The Delete icon remains. What am I missing here?

void gvRelatedPhoneNumbers_CellFormatting(object sender, CellFormattingEventArgs e)
{

    if (e.CellElement is GridDataCellElement)
    {
        if (e.Column.Name == "Propertys") // Edit
            e.CellElement.Image = e.Row.IsSelected ? Properties.Resources.EditPenWhite16 : Properties.Resources.EditPen16;

        if (e.Column.Name == "Delete") // Delete
            e.CellElement.Image = e.Row.IsSelected ? Properties.Resources.TrashcanWhite16 : Properties.Resources.Trashcan16;

        if (e.Column.Name == "Relation")
        {
            if (e.CellElement.Value != "Maker")
                e.Row.Cells["Delete"].Value = null;
        }

    }
}

Thanks

Carl

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Jan 2024
1 answer
120 views

I have a vb.net code in which I am programmatically processing a telerik radspreadsheet control.

I can do many formatting but I am unable to insert a page break.

What property or methods do I use to insert a page break

Thanks

Boniface

Ekoue
Top achievements
Rank 1
Iron
 answered on 03 Jan 2024
1 answer
366 views

Is there a way to define the Application Name that appears in Balloons (etc) ?

Our code runs via an Interpreter, and the name of the Interpreter appears instead of our Branded Application name

The reason we are looking at NotifyIcon is that it is hard/impossible to do this via the standard MS Notifications

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Jan 2024
1 answer
186 views

I got my db in sql and i load a datagrid but still i see the scroll, and its loading all data 50k records, any chance to turn on infinite scroll? so when im scrolling its getting data ? i mean is not slow as 50k was loaded in less than a second.

 

thank you

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Jan 2024
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? 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?