Telerik Forums
UI for WinForms Forum
1 answer
78 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
196 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
373 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
5 answers
193 views
I am using Custom Alarm Form for Reminder based on your Examples code.

I would like to change the back color of each item in RadListBox, at creation, depending on some scheduled item properties.

How do I go about it?

If it is not possible to do it with RadListBox, how would I go about using some other control, bind it to the reminder and achieve different back colors?

Thanks,
  Aleksandar
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Apr 2019
7 answers
500 views

Hi

I have been using the code from https://www.telerik.com/support/kb/winforms/editors/details/changing-the-text-color-of-a-disabled-radtextbox for years now with success until I discovered that it doesn't work well with MultiLine textboxes.

Is there another way (I am using the latest bits) to achieve that behavior (changing the backcolor of disabled control) that would work with multiline textboxes?

Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 18 Apr 2019
3 answers
106 views

Hi,

expanding the second hierarchy becomes really slow if there are more than 500 items.

Sample is attached. If you expand the second Level ("Expand me!") on the left grid it takes 4-5 seconds to expand (for 1500 rows) if you do the same on the right side it is expanded instantaneously. Same data ... 

Is there any reason why it's so slow?

Kind regards,

Christian

 

 

Dimitar
Telerik team
 answered on 18 Apr 2019
1 answer
126 views

Hi Admin,

 

I would like to know can I add 'Pin' in SplitContainer winform? Because I want to hide SplitPanel1 like 'Pin' Function.

 

 

Thanks

Moe

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

I would like to be able to load data into the grid and then add the GridViewComboBoxColumn to an existing column and have the column display the display member for all rows of existing data. We load many different sets of data into one grid and want to use auto generate as it takes care of most of the database fields. This would leave having to only assign the drop down fields.

We do not want to manually define each set of columns for every set of data as we have hundreds of queries we use. This is something I am able to do with other vendor's products and need to be able to do with Telerik's grid.

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Apr 2019
5 answers
219 views

Hello,

My gridview bounds with two data collections. One collection bounds to the master template, the other bounds to the template in the master template.

I've found the memory leak during the hierarchy templates refresh.

I made a simple demo. Please download it from:

https://www.dropbox.com/s/btzb5go8e4bnrmk/RefreshHierarchy.rar?dl=0

In the demo, there are two data collections. If I refresh 50 elements in each collections, the memory will leak very fast. Please see the memory diagnosis trace in the attached photos.

If I collapse all hierarchy template, only refresh the master template, the memory maintains well.

Thank you by advanced for your support.

Regards,

Dimitar
Telerik team
 answered on 18 Apr 2019
6 answers
259 views

Hi Team!

 Is their a way on how to used the SpellCheckUppercaseWords and SpellCheckWordsWithNumbers property under the namespace Telerik.WinForms.Documents.Proofing while I am using Telerik.WinControls.RichTextBox.Proofing for loading the spell check custom library. As i tried WinControls.RichTextBox.Proofing does not contains a member of DocumentSpellChecker.Settings so therefore I cannot use this way of using the property DocumentSpellChecker.Settings.SpellCheckUppercaseWords = True for allowing uppercase spell check. See below part of my code.

 //Setting up spell check.

 Friend Shared SpellCheckCulture As CultureInfo = CultureInfo.GetCultureInfo("en-GB")

 

Dim textBoxControlSpellChecker As IControlSpellChecker = Me.RadSpellCheck.GetControlSpellChecker(GetType(TextBox))
Dim documentSpellChecker As DocumentSpellChecker = TryCast(textBoxControlSpellChecker.SpellChecker, DocumentSpellChecker)

documentSpellChecker.Settings.SpellCheckUppercaseWords = True   //This part will got an error if I import Telerik.WinControls.RichTextBox.Proofing

documentSpellChecker.AddDictionary(New SpellCheckDictionary(), SpellCheckCulture)

documentSpellChecker.SpellCheckingCulture = SpellCheckCulture

 

//Loading of Custom Library using Telerik.WinControls.RichTextBox.Proofing

Public Class SpellCheckDictionary
        Inherits WordDictionary
        Protected Overrides Sub EnsureDictionaryLoadedOverride()

            Try

                Using ms As MemoryStream = New MemoryStream(File.ReadAllBytes("en-GB.tdf"))
                    Me.Load(ms)
                End Using

            Catch ex As Exception
                Glenfield.Common.HandleError(ex)
            End Try

        End Sub
    End Class

Guillermo
Top achievements
Rank 1
 answered on 17 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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?