Telerik Forums
UI for WinForms Forum
2 answers
174 views

Hello All,

I have added a handler to try and capture the double click of an editing cell on a grid - it never reaches the stop statement, the keydown item fires fine. Can anyone give me some pointers?

 

Private Sub radGridView1_CellEditorInitialized(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles RadGridView1.CellEditorInitialized
       Dim tbEditor As RadTextBoxEditor = TryCast(Me.RadGridView1.ActiveEditor, RadTextBoxEditor)
       If Not tbEditor Is Nothing Then
           If (Not tbSubscribed) Then
               tbSubscribed = True
               Dim tbElement As RadTextBoxEditorElement = CType(tbEditor.EditorElement, RadTextBoxEditorElement)
               tbElement.TextBoxItem.Tag = Me.RadGridView1.Name
               AddHandler tbElement.TextBoxItem.KeyDown, AddressOf tbElement_KeyDown
               AddHandler tbElement.DoubleClick, AddressOf tbElement_DoubleClick
           End If
       End If
   End Sub
   Private Sub tbElement_DoubleClick(ByVal sender As Object, ByVal e As EventArgs)
       Stop
   End Sub
 
 
   Private Sub tbElement_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs)
 
       If e.KeyCode = Keys.F1 Then
           Stop
       End If
 
 
 
   End Sub
Brad
Top achievements
Rank 1
 answered on 03 Nov 2011
3 answers
113 views
Hi,

I noticed that the OnKeyPress, OnKeyUp, and OnKeyDown don't 'work' the same as the microsoft text box, it's been documented here in this forum, and there were a few other events that don't work as expected.

Is there a full list of events in this and other controls that I should be wary about when converting all our .net controls to telerik ones?

I'm using version 2011.2.11.831.

Thanks,
Clive
Stefan
Telerik team
 answered on 03 Nov 2011
1 answer
468 views
Hi
I need to change the font for one column of my RadGridView in runtime. Is this possible?
If Yes, can you help me with the code in VB.NET?
Thanks
Ivan Petrov
Telerik team
 answered on 03 Nov 2011
1 answer
126 views
Hello all,
      I need help in setting up a multi user / resource
scheduler. I am having problems getting help...
                                                      regards,                                      
                                                        Jeff Link

     these two lines of code will not do it alone (VB.NET)
      
                   
Me.RadScheduler1.GroupType = GroupType.Resource
            Me.RadScheduler1.ActiveView.ResourcesPerView = 2
       
Ivan Todorov
Telerik team
 answered on 03 Nov 2011
3 answers
158 views
Hi,

Have a grid that mainly presents start and end time for a workshift.
When I edit this grid, i would like to input '1000' and validate this and correct it to 10:00, or input 130 and validate this and correct it to 01:30. Or 2350 - > 23:50. And if the user inputs 10:20 it should only validate and it should be ok. But if the user inputs 1080, 1667 or 10:98. It should all give an exception while validateing. It should happen when the cursor leaves the cell.

How can this be done most efficiently. 

Regards
Svein Thomas
Jack
Telerik team
 answered on 03 Nov 2011
14 answers
237 views
I created a custom combobox that I want to use in the grid view during editing.  When the user is editing the data I want to allow then to beable to choose from a list of items, enter in new items (like a text box and save when done typing or lost focus) and also allow the user to click on an x next to an item and remove it from the list items.  Is this possible?  So, is it possible to customize the list itmes to have a image (x) and use a click event on the fire a method to delte the item?


Stephen
Nikolay
Telerik team
 answered on 03 Nov 2011
1 answer
105 views
i created an recursive appointment after that i want to extend the time of particular date for i opened that appointment in occurrence  mode .
modified the appointment time then  When i submitting the appointment i got this exception.

"object reference not set"  and my application is terminated.

-Sivaram.
Ivan Todorov
Telerik team
 answered on 03 Nov 2011
1 answer
159 views
Hi,

I would like to be able to prevent the user to change the value on certain situations but I cannot find an event that would help me do that.

I've found the MultiColumnComboBoxElement.TextChanging event, but that only works when the modification is made with the keyboard. I would need to be able to handle also the modifications made by the mouse, including the mouse wheel.

Any ideas?

Thanks!
Stefan
Telerik team
 answered on 03 Nov 2011
11 answers
858 views
Hi, I would like to know how could specify the focus in the next cell of the grid after pressing tab control, I am using Telerik controls in 2009, in which event should I do.

Thank you.
AJing
Top achievements
Rank 1
 answered on 03 Nov 2011
6 answers
186 views
Hello:
When I press the key "Alt", appear a little numbers on everyone tabs of my RadRibbonBar, but:

-When I press the respective numbres in the numeric pad, it doesn't responds.

-When I press newly the key "Alt", it doesn't lost the focus.

-I want change this numbers to letters.

Please answer this three questions.
Thanks
AJing
Top achievements
Rank 1
 answered on 03 Nov 2011
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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?