Telerik Forums
UI for WinForms Forum
6 answers
2.9K+ views

How do I get the index of a ListView item when the user right clicks on it?

Note: I do not want to set the SelectedItem of the ListView and get SelectedIndex. 

Thank you,

Mohammad

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Aug 2017
2 answers
157 views

Hello,

How can I remove the border around the quick access buttons. This border appears with the Telerik Metro theme. Interestingly, when the Quick Access buttons are placed below the ribbon the border does not appear. 

Thanks,

 

Robert

Robert
Top achievements
Rank 1
Iron
 answered on 15 Aug 2017
2 answers
497 views
In C#, how can I show the Details text of the RadMessageBox control without requiring user to click the Details button (to drop down the details). Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Aug 2017
1 answer
80 views

I'm test out the Scheduler.  I'm trying to cancel moving a appointment if it new date is past todays date.  In the AppointmnetDropped, i figured i should check and cancel here. I cannot find a cancel function to set.  I did find in other posts you used a  "e.Cancel = true"  e is AppointmentMovingEventArgs.  But can not see a Cancel in the AppointmentMovingEventArgs. 

Did this way change?  

I'm using VB.net 2015. 

Lawrence

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Aug 2017
2 answers
130 views

I'm using version 2017.2.613.40 of RadDock.

I'm using RadDock to host custom user controls by calling:

radDock.DockControl(_HostedControl, DefaultDockPosition, DockType.Document);

 

This creates a HostWindow.  It works great, however some of my user controls have somewhat expensive paint events.  For example, one is a chart which could have tens of thousands of data points and it can take a second or two to repaint the control.  Obviously, I'd like for this paint to be instant, but it's not.  It's what I'm stuck with for now.

My issue is when I try to rearrange DockWindows by dragging them to a different position in the RadDock and docking them there.  The dragging triggers repaints in the user control.  And the user control tries to repaint while it's being dragged.  This ends up stalling everything for a couple seconds several times during the drag.  This makes it not just annoying, but almost impossible to move DockWindows around which is one of the main reasons, of course, to use a RadDock in the first place.

My question is this:  what are the best RadDock or DockWindow events to subscribe to in order to disable my control when the drag starts and then to re-enable it after it gets re-docked at a new location in the RadDock.

Since these are custom controls, I have the ability to turn off painting or hide the control completely, I just need the right hooks to be able to do this at the right times.

Thanks,

Steve

 

Steve
Top achievements
Rank 1
 answered on 11 Aug 2017
3 answers
210 views

Hi,

I want to use WinForms RadDigram as platform for a gui Editor.
is it possible to add a "normal" control object like button or even an RadChart as RadDiagramShape ?

 

BTW: ist WinForms a right choys for future prooft Projects

 

Besdt Regards
Paul

Hristo
Telerik team
 answered on 11 Aug 2017
3 answers
402 views

Hello,

I just started to figure out how to use the Telerik 2016.3.1024.40 components with OpenEdge 11.7.1.

Using the RadGridView and BindingSource components I am unable to show the records of one of the tables in my database.

I connected the BindingSource to the table (for example "SomeTable") of my choice and set the RadGridView.DataSource property to the BindingSource. During design-time I see the correct fields of the table, but no records. With the PropertyBuilder the order of the columns can be changed which is also visible in the grid. So far so good.

When I run the application an empty record is shown and when I try to add a new record or edit the contents of the empty record, the message "BindingSource is not bound to a DataSource" is shown.

Do I miss some code to load the records in the grid?

 

When I connect the grid to another BindingSource that is not connected to a table in my database, the following code can be used to display the contents of the table (just to demonstrate that the grid is able to display at least something):

        DEFINE VARIABLE hQuery AS HANDLE NO-UNDO.
        DEFINE VARIABLE hdsSomeTable AS HANDLE NO-UNDO.
        DEFINE DATASET dsSomeTable FOR ttSomeTable.
        FOR EACH SomeTable NO-LOCK:
            CREATE ttSomeTable.
            BUFFER-COPY SomeTable TO ttSomeTable.
        END.
        hdsSomeTable = DATASET dsSomeTable:HANDLE.
        hQuery = hdsSomeTable:TOP-NAV-QUERY.
        hQuery:QUERY-OPEN().
        bindingSource1:HANDLE = hQuery.

Please advise,

Bert

 

Hristo
Telerik team
 answered on 10 Aug 2017
1 answer
414 views

We are passing these fields as regular dates from SQL, however telerik is converting them to Date and Time stamp, which we do not want.

Please tell us a way to add 'Date' DataType to a field and not DateTime.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Aug 2017
2 answers
80 views

I want Open RadApplicationMenu "Context" in mouse hover.

What should i do ?

Dimitar
Telerik team
 answered on 10 Aug 2017
7 answers
1.2K+ views
Hi,

I'm trying to display the number of rows displayed in a grid after filtering it. I don't find any event that fired after filtering action.

Thanks for your help.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Aug 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
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?