Telerik Forums
UI for WinForms Forum
4 answers
608 views
Is there a way to disable keyboard navigation in the RadListView control when it's in IconsView? I want to have other keys fire the KeyDown event (e.g. Del) but not the keyboard arrow keys.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2019
5 answers
537 views
I have an issue with when the ItemMouseHover event is fired when the RadListView.ViewType is DetailsView.

The event only fires when you hover in an area outside the columns (see the attached image). I'm trying to set up a tooltip that displays item specific information when hovering over a row (item). I can get the tooltip create, however, when moving the mouse around it does not change the tooltip (because the event is not being fired) when I hover over the columns in the row. As you can see in the image (sort of) the tooltip still displays the value for the second row even though I'm hovering over the first row.

I have a sample project if you will tell me how to submit it.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2019
1 answer
206 views

Hi, I have a mainform containing a radDock. Whenever I launch a new form they appear in the tabstrip. Is there any way to modify the tabstrips of some forms at runtime to show a number ?

 I would like it to look like notifications in chrome tabs.

 

Thank you for the help !

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2019
1 answer
2.6K+ views

I have a created a WinForms User Control class (C# WinForms project in and Visual Studio 2017) that has (3) controls in it: A label, textbox, and button. Next drag-and-drop that User Control onto a WinForm, and it appears with each of the child controls. All appears good, for now..

Next I decide to make some changes in the User Control custom class, so I open it in the visual designer, move the button to a new location and change the size and change the caption of the button and save my changes. Rebuild. Next I open the Form that uses an instance of the User Control, and I do *NOT* see the updates I made to the User Control class.... The button is at the original location and original caption and original size.

Surely, the creates of this platform should now that anyone would expect these changes to be applied to the instance of the control wherever it is used in the app.

 

Please tell me I am missing something very basic here to make this work like true inheritance should...

 

 

Dimitar
Telerik team
 answered on 25 Apr 2019
2 answers
153 views

Hello!, I implement a spell check control using a custom (spanish) dictionary without problem using Telerik UI for WinForms R3 2017.

But now, I need to implement the same functionality using Telerik UI for WinForms Q1 2015 (SpellChecker.dll version 2015.1.225.40) and I can't compile my code:

Thank you in advance!

            '----------------------------------------------------------------------------------------
            ' Diccionario espanol para uso con SpellChecker
            '----------------------------------------------------------------------------------------
Public Shared ReadOnly CulturaEspanol As Globalization.CultureInfo = Globalization.CultureInfo.GetCultureInfo("es-ES")
 
            '----------------------------------------------------------------------------------------
            ' Diccionario espanol para uso con SpellChecker
            '----------------------------------------------------------------------------------------
            Public Class MySpanishDictionary
                Inherits Telerik.WinControls.SpellChecker.Proofing.WordDictionary
                Protected Overrides Sub EnsureDictionaryLoadedOverride()
                    Dim ls_dicpath As String
                    Try
                        ls_dicpath = My.Application.Info.DirectoryPath & "\es-ES.tdf"
                        If Not File.Exists(ls_dicpath) Then
                            frmError.MostrarDialogo(System.Reflection.MethodBase.GetCurrentMethod, New Exception(ls_dicpath & " No Existe!."))
                            Exit Sub
                        End If
                        Using lb_ms As System.IO.MemoryStream = New System.IO.MemoryStream(File.ReadAllBytes(ls_dicpath))
                            Me.Load(lb_ms)
                        End Using
                    Catch ex As Exception
                        frmError.MostrarDialogo(System.Reflection.MethodBase.GetCurrentMethod, ex)
                    End Try
 
                End Sub
            End Class
 
            '----------------------------------------------------------------------------------------
            ' Setea Diccionario espanol para uso con SpellChecker
            '----------------------------------------------------------------------------------------
            Public Shared Sub setearDiccionario(ByRef ao_spcControl As Telerik.WinControls.UI.RadSpellChecker)
 
                Try
                    Dim lo_textBoxControlSpellChecker As Telerik.WinControls.UI.TextBoxSpellChecker = ao_spcControl.GetControlSpellChecker(GetType(Telerik.WinControls.UI.RadTextBox))
                    lo_textBoxControlSpellChecker.ShowAllCapitalLettersWord = True
                    Dim lo_documentSpellChecker As Telerik.WinControls.SpellChecker.Proofing.DocumentSpellChecker = TryCast(lo_textBoxControlSpellChecker.SpellChecker, Telerik.WinControls.SpellChecker.Proofing.DocumentSpellChecker)
                    lo_documentSpellChecker.SpellCheckingCulture = CulturaEspanol
                    lo_documentSpellChecker.AddDictionary(New MySpanishDictionary(), CulturaEspanol)
 
                Catch ex As Exception
                    frmError.MostrarDialogo(System.Reflection.MethodBase.GetCurrentMethod, ex)
                End Try
 
            End Sub
 
.... at form you can use it:
 
            '-----------------------------------------------------------------------
            ' Spell Check "as you type" en componente texto observaciones
            ' spcCheck is RadSpellChecker
            ' txtObservaciones is RadTextBox
            '-----------------------------------------------------------------------
            spcCheck.AutoSpellCheckControl = txtObervaciones
            FG.Controles.Comunes.setearDiccionario(spcCheck)
Guillermo
Top achievements
Rank 1
 answered on 24 Apr 2019
7 answers
301 views

How do I get rid of the Expand / Collapse on Each card? (See Capture1)

Also, it might be related, but I would like the photo to expand to fill to the top and side edges in the card, as in the Telerik UI for WinForms demo application. (See Capture2).

I copied this Demo code exactly, even editing the form1.Designer.vb, so they should look the same, but I still get variations between the two.   In designer editing properties directly, it will not hold several properties, changing them to what the control thinks they should be.  This is especially true for trying to set the size and location of the CardViewItems.

Please advise.

Thanks,

 

 

HarisB
Top achievements
Rank 1
 answered on 24 Apr 2019
7 answers
368 views
Hello
I'm gonna read RadTreeView data from DataBase, where ninety are indefinitely subNode
Please guide
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Apr 2019
1 answer
83 views
We have a config that normally sits on the left hand of the screen and there are a couple of situations where I would like for the config panel to take some of the space from the surrounding windows when a user clicks a button. I have not got any code to adjust the size of a window when docked, is this possible?
Dimitar
Telerik team
 answered on 23 Apr 2019
2 answers
226 views

Hi
i have a radtreeview with checkbox that fill with this table

ChildID    ChildName    ParentID    ParentName
1                     a
2                      b                1                   a
3                      c                2                   b

 

   trwFormName.DisplayMember = "ChildName";

   trwFormName.ParentMember = "ParentID";
   trwFormName.ChildMember = "ChildID";

i take all node that checked by this code:

 foreach (var node in trwFormName.TreeViewElement.GetNodes())
                {
                    if (node.Checked)
                    {
                        var t = node.Value;
                    }
                }

but i cant get node id . value is name and not id

please help me

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Apr 2019
3 answers
392 views

Let me tell you what I need first. I need the ability for the users to Un-Select an item in a DropDownList where the DropDownStyle = RadDropDownStyle.DropDownList.  Programmatically, this is pretty easy, I can just do this in code SelectedIndex = -1. Now, that I know I can do this to un-select an item in the dropdownlist, next, I need to give the users the ability to also do this.  My thought was to create a right click context menu that if there was a selected item, to give the user a prompt to clear the selection.  I can't seem to get this to work.  If there is a simpler way to do this, I would like an example.  These dropdown lists are used for reporting, it would suck to have to tell the user to exit the form and reload it just to remove un-select an item in a dropdownlist.

Any help and/or ideas would be gratefully appreciated.

 

Thanks

Dimitar
Telerik team
 answered on 19 Apr 2019
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?