Telerik Forums
UI for WinForms Forum
3 answers
261 views

I would like to be able to capture key events from a floating window.

Nothing I've tried seems to fire the OnKeyDown events associated with either the RadForm, FloatingParent or DockWindow.  I wired them up a variety of ways including in DockStateChanged.  Are the key events even intended to work for a floating window?

I'm using version 2017.2.613.40 of UI for WinForms.

I'm creating a new DockWindow with my user control which appears in the tabbed region in the middle of the RadDock.  I then float that window by dragging the tab.  Because the user may have several open floating windows, I want the global shortcut keys to function such as Ctrl+S to save everything even if they are in a floating window.  

Events DO fire from my control that is hosted in the floating window.  However, when one drags the floating window and the focus is on the window, key events don't fire.  

What's the proper way to wire of a floating window to capture key events?

 

Steve
Top achievements
Rank 1
 answered on 03 Jul 2017
2 answers
306 views

I'm using 2017.2.613.40 of UI for WinForms

I have a control hosted in a RadDock floating window.  When changes are made to my control I update the title bar of the host window with an asterisk:

"test"

becomes

"test*"

See attachments.

However, the problem is that the change is not immediately visible.  I have to drag the window before the title will repaint.

I'm using the following code to update the title bar after I acquire the HostWindow.

hostWindow.Text = value;
hostWindow.Invalidate(false);
hostWindow.Update();
hostWindow.Refresh();

But none of these method calls forces the title to repaint.  The text value is clearly getting set properly because as soon as I manually trigger a repaint by dragging the window, the new title value appears.

 

Steve
Top achievements
Rank 1
 answered on 03 Jul 2017
24 answers
1.5K+ views
Seems simple enough...I set BackColor Property on a RadTextBox to something other than System.Control, and it appears to make no change.  I can set ForeColor and get the desired change.  What am I missing?  We are using RadControls for WinForms Q3 2008.

Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Jul 2017
2 answers
122 views
I have a ListView in Details view, with FullRowSelect set to true. When a cell is clicked, a faint focus rectangle appears around the selected cell. I am assuming I can change the BorderColor of this DetailListViewDataCellElement in the CellFormatting event, but how can I tell if the cell (not the row) is selected?
KKL
Top achievements
Rank 1
 answered on 03 Jul 2017
2 answers
317 views

I have a ListView in Details view, with ShowCheckBoxes set to true. As expected, all ListViewItems have checkboxes next to them.

Is it possible to hide (or disable) checkboxes next to certain ListViewItems? 

KKL
Top achievements
Rank 1
 answered on 03 Jul 2017
10 answers
304 views

We are using version 2016.3.1024.40 and i just want to clear the value.  I have tried setting the value = null and that does not work.  Standard controls that would work just fine.  There has to be a simple way to do this.  I have about 20 controls that I need to do this to.  Just want to take the value/text that is displayed and blank it out.

Thanks in advance.

Mark

Dimitar
Telerik team
 answered on 03 Jul 2017
4 answers
180 views

Hi,

I'm having this error when loading a layout with a CustomAggregate.

I'm attaching the Layout XML

Daniel
Top achievements
Rank 1
 answered on 29 Jun 2017
3 answers
213 views
Visual Style Builder - How to add visible backgorund images on each state of RadButton

Hello.

Could you provide me with steps required to add background image and display it on a button for each Element State of RadButtonElement. I know I need to make FillPrimitive Visibility Collapsed but no Image I add displays. 

I would kindly request a list of step by step things I need to perform to archive a button that uses image and not FillPrimitive for graphics.  Please answer with as many details as possible.

I am using Telerik versions: WinForms v2010.1 504 and WinForms v2010.1 914
Dimitar
Telerik team
 answered on 29 Jun 2017
4 answers
265 views

Hello,

I created GridView with dataset and added two CheckBox type column. In telerik documenation, there is one method to add checkbox on Header

GridViewCheckBoxColumn includeColumn_ = new GridViewCheckBoxColumn();
           includeColumn_.DataType = typeof(int);
           includeColumn_.EnableHeaderCheckBox = true;
 
           GridViewCheckBoxColumn excludeColumn_ = new GridViewCheckBoxColumn();
           excludeColumn_.DataType = typeof(int);
         //  excludeColumn_.EnableHeaderCheckBox = true;

 

Dimitar
Telerik team
 answered on 29 Jun 2017
9 answers
190 views

Hi,

CheckBoxInHeader( http://www.telerik.com/forums/how-can-i-select-multiple-check-boxes-in-radgrid-and-select-all) sample code is not working in Windows 10 operating system , this is working in previous versions.

 

Please advise.

 

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jun 2017
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?