Telerik Forums
UI for WinForms Forum
2 answers
260 views
Good day!

I've got two inter-related combos in the ribbonbar quick access menu, which will change the entity I'm looking at in my application, and I'd like the user to be able to select values in the following way:-

a) By typing in the field, pressing enter
b) By selecting an entry from the dropdown
c) By using the arrow keys

The problem I'm having is that I don't want to change the entity being looked at until either the user as pressed enter, or clicked on a specific item.

I've met the first requirement by handling KeyPressed and looking for '\r', which works fine.  I can't find an appropriate item level handler. SelectedIndexChanged et al fire every time the user hits an arrow so that's no good. 

I see you can manually assign a Click handler to each item in the radcombobox except that these two combos are databound, and have several hundred entries in each.  

Because they're in the quick access menu, I can't think of any useful alternative options (e.g. having a "launch" button next to the combo for example, because when you select the item in the combobox, the menu disappears before you get a chance to click on anything else in the menu)

Any thoughts would be appreciated, and I'm more than willing to consider different options here.
Jack
Telerik team
 answered on 11 Jun 2009
0 answers
262 views

It is our pleasure to present you the much improved and completely new RadDock for WinForms (Q2 2009 Beta). You can find detailed information on what is new and improved here: RadDock for WinForms Q2 2009 Beta.Project upgrading instructions are also included.

The beta is available for download from your Telerik accounts --> Downloads (or Free Trials for the trial version) --> RadControls for WinForms --> Q2 2009 Beta Download:

RadControls for WinForms Beta Download

You can view a quick demo (source code included) of the new RadDock in action in the specially prepared Bug Tracker Demo, which you will find attached to this post:

RadDock For WinForms Q2 Bug Tracker Demo

We are eager to get your feedback on the RadDock beta, so please use the WinForms Beta Forum to send us your comments.

Enjoy!
 
All the best,
The Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 11 Jun 2009
1 answer
253 views

The Telerik Theme class is missing an iterator for the used colors in the theme. With such an iterator it would be much easier to use the color blend feature.

As an extension i would like to suggest to have a getter/setter for a colorpalette which contains all the used colors of a theme. The advantage of the colorpalette is it could have an iterator for the colors, be loaded/saved to xml and it could be easily used with every theme. When i define a green colorpalette i could use it with the desert theme, the office 2007 blue theme, the aqua theme, ...

As a further side effect telerik could provide predefined colorpalettes like a silver and a black colorpalette and then we would not need the office2007black and office2007silver theme anymore. We would just change the colorpalette to silver or black. 

Kind Regards,

Ramius   

Mike
Telerik team
 answered on 11 Jun 2009
1 answer
106 views
Hi

Example to turn on/off buttons of pin, close and system menu on toolbar too complex and cannot find properities in code behind to toggle their state

        private void checkBox2_CheckedChanged(object sender, StateChangedEventArgs e)
        {
            options = options & (~AllowOptions.Pinning);
            if (checkBox2.Checked) options |= AllowOptions.Pinning;

            if (AllowOption != null) AllowOption(this, new AllowEventArgs(options));
        }

Rgds
Stephen
Jordan
Telerik team
 answered on 11 Jun 2009
4 answers
154 views
using c#2.0
scheduler version 2009.1.9.316

is it possible to get the month view to show the whole month? and not just 3 weeks?

Cheers,
Craig
Boyko Markov
Telerik team
 answered on 11 Jun 2009
1 answer
97 views
Hi

Using Rad dock as a mdi container and trying to launch forms in document but getting error below - does this mean forms can not be added to the tabed document view?

ERROR;
Top-level control cannot be added to a control.

Code for Enquiry which is rad form

 

Enquiry enquiry = new Enquiry();

 

 

DocumentWindow document = new DocumentWindow();

 

document.Text =

"New Enquiry form";

 

document.Controls.Add(enquiry);

enquiry.Dock =

DockStyle.Fill;

 

 

this.radDock1.AddDocument(document);

Rgds
Stephen

 

Julian Benkov
Telerik team
 answered on 11 Jun 2009
2 answers
221 views
Hello,

I have a RadListbox and a couple of textboxes bound to a bindingsource with as datasource a generic list with objects.   When the selection in the listbox is changed the text in the textboxes also reflect the current selected object. All works fine there

The listbox supports dragging and dropping of items (RadItemDragDropManager).   But when the order of the items is changed these changes are not reflected in the bindingsource and textboxes.

any suggestion how i can realize that ?

kind regards,

Tim van Rooijen
IT Development
Top achievements
Rank 1
 answered on 11 Jun 2009
3 answers
209 views
Hi,

I want to achieve following behavior of RadGridView. I have grid with some 6 columns and preloaded rows. User is suppose to edit 2 columns in these rows. Other columns are read-only. One of editable columns is multi-column combo box.

User wants to edit rows one by one, going through values in that combo column using following approach:

edit (by writing value, e.g. 'X' or 'N' into combo) - down arrow (to move to next row) - edit - down arrow

However, default behavior of combo is that once user presses down arrow (or up arrow for that matter), it just lists through values of combo (dropdown) an/or displays dropdown. I want to change that and use up/down arrows just for moving up/down the grid's row collection.

I've tried hooking up on numerous events of grid, editor (multi-combo column), but with no result. Closest I've been was when I called grid.EndEdit() in grid's ValueChanged event handler. Problem with this is that it works only when user always enters value to the column (i.e. presses 'X' or 'N'), otheriwse down arrows just selects next value in the list, then editing ends. Another problem with this 'solution' is that when default value in the column is 'N' and user enters it, presses 'N', ValueChanged event isn't notified and down arrow moves to next value just as if he didn't press the 'N' before.

I need to solve this ASAP as it is very important for the client not to have press more keys then there is necessary (understand VALUE - MOVE). I know it is possible by VALUE - ENTER - MOVE, but that ENTER is what bothers my client and subsequently me too.

I'll be glad if you give me hints where to look and what to change.

Thanks a lot

Daniel
Jack
Telerik team
 answered on 11 Jun 2009
1 answer
127 views
Hi

the help via telerik programme link in windows is empty and cannot find any help on new rad dock included in beta on telerik site

although there is a video on telerik 
http://tv.telerik.com/winforms/raddock/introducing_new_raddock_winforms
it concentrates on migration and not how to do a new form from the beginning

rgds
Stephen
Vassil Petev
Telerik team
 answered on 11 Jun 2009
1 answer
103 views
Hi,

I'm trying to make a custom context menu for the MonthCellElement using the mousedown event, but when I right click and it executes the below code it always opens the context menu in a different position than it should.

        void sch_mousedown(object sender, MouseEventArgs e) 
        { 
            if (e.Button == MouseButtons.Right) 
            { 
                string x = sender.ToString(); 
                MonthCellElement element = (MonthCellElement)sender; 
                int stuff = e.Location.X; 
                stuff = e.Location.Y; 
                _sch_context.Show(element, e.Location); 
            } 
        } 

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