Telerik Forums
UI for WinForms Forum
1 answer
241 views

I am using a Q1 2015 Winforms RadGrid, added a checkbox column, made EnabledHeaderCheckbox = true, added following event and now want to select all rows in the grid when header checkbox is checked, but it is giving object reference error. Here is the code examples - 

 

        private void _sampleRadGridView_HeaderCellToggleStateChanged(object sender, GridViewHeaderCellEventArgs e)
        {
            if (e.State.ToString() == "On")
                    _sampleRadGridView.SelectAll();
            else
                _sampleRadGridView.ClearSelection();

         }

Please help. Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2015
1 answer
169 views

Hello, 

 

    I have two Grid Views with drag and drop behavior. working perfect. 

     Gesture is enabled on both.

     However, When I try to use Touch (on Tablet)  to drag row from Grid1 to Grid2 is not working, What am I missing ? 

     

Thank You

Mansi Mansi 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2015
0 answers
116 views

have Error : "Object reference not set" when  use with document tab strip object

i want to set the following:

Dim Doctab as New DocumentTabStrip  

Doctab.DockManager.Dock=DockStyle.Fill

 

Ammar
Top achievements
Rank 1
 asked on 17 May 2015
4 answers
242 views

Bug: 

When I use the backspace key in RadRichTextEditor it causes visual artifacts to be left behind. It doesn't matter if I am deleting a selection or just one character. The artifacts disappear as soon as I press or click anything else (including pressing backspace again, on the KeyDown event).

See attached image.

Solution:

The control (or affected visual area) should be invalidated when the backspace key is pressed.

Hack:

I was able to eliminate all artifacts by overriding the KeyDown event and forcing the control to invalidate whenever the backspace key is pressed:

protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e)
{
    base.OnKeyDown(e);
 
    if (e.KeyCode == System.Windows.Forms.Keys.Back)
    {
        Invalidate();
    }
}

Chris Ward
Top achievements
Rank 1
 answered on 15 May 2015
4 answers
217 views

Hi,

I have a multicol combo with 5 columns and I have enabled filtering on each column :

multiColumnComboElement.EditorControl.EnableFiltering = true;

multiColumnComboElement.EditorControl.ShowHeaderCellButtons = true;

 

The issue I'm having is that when a user clicks on the OK button in the available filter list (see attached image) the main dropdown closes.

What I would like to happen is when the user clicks OK on the filter button the main drop down is still available but only showing the matching rows.

So for example and using the attached image as reference, if the user checks 19, 21, 30 and clicks OK the main dropdown remains open so the user can select from the filtered rows.

Not explaining this very well, but hope you get the idea.

I have managed to create a work around but its not ideal, basically on dropdown close I cancel if selectedIndex < 0, on dropdownopening I set selectedindex = -1.

Thanks for your help.

 Cheers

 

Shaun

 

 

 

Shaun
Top achievements
Rank 1
 answered on 14 May 2015
1 answer
144 views

Hello everyone,

 After I have updated my UI for WinForms to 2015.1.331.40, I am encountering strange problem with RadCommandBar control. If I create a new project in Visual Studio Community 2013 (VS 2012 Express as well) and drag, lets say, RadGridView into my RadForm everything is ok and i can change control Name as i like. However,  as soon as I add RadCommandBar control to my form, if I try to change other control Name property i get following message: 

Property value is not valid.

Details:

Unable to cast object of type:

'Telerik.WinControls.UI.RadGridView' to type

'Telerik.WinControls.RadItem'.

 

Does anyone have the same problem? If i add other controls (except RadCommandBar) everything is working as intended. My colleague is encountering the same problem on his computer (he is working on Win8, I am working on Win7). 

 

Any tips would be appreciated.

Thanks for your time,

Mateusz

 

 

Dimitar
Telerik team
 answered on 14 May 2015
0 answers
110 views
how to add Separator between elements in Ribbon Bar Group ??
Ammar
Top achievements
Rank 1
 asked on 14 May 2015
1 answer
119 views

Hi,

In the attached is a grid layout. I have grouping on column Abbreviation. There is also sorting on Document Amount column (from the lowest to the largest).
I would like to change the way group is sorted (programmatically). The group should sort base on aggregated values (sum of Document Amount column).

AUT: 102,08  
AIR: 592,98,
ARU: 3 918,40 
AKE: 4 750,00
BER: 6 024,00
ANG: 33 630,00
ALBER: 124 729,22
and so on...

Is it possible?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 May 2015
3 answers
113 views
there are 2 button (option & Exit) in right side of menu, how i can to hide them from menu?
Ammar
Top achievements
Rank 1
 answered on 13 May 2015
1 answer
317 views

Hello!

 What's the proper way to dispose of a radform to ensure that all of the added controls also gets removed? As it is now, each time i start the form and then close it, memory consumption goes up with about 10mb. The core issue here seems to be that even though the form calls .Dispose() when it's closed the controls added to the form does not get cleared. I've tried setting all of the controls in the form to null on close, but this did not have any effect on the memory issue. 

 To make sure that it was an issue with the specific form, i created an empty form and instead opened that one, and when that form closed, memory did not increase, which leads me to be pretty sure that it has something to do with the controls added to the form not getting disposed. 

Dimitar
Telerik team
 answered on 13 May 2015
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?