Telerik Forums
UI for WinForms Forum
2 answers
210 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
188 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
124 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
96 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
4 answers
353 views
Hello,

I am using a masked edit control on my form, and would like to tie in some keyboard handling code to allow my userbase to operate the software without using a mouse.  However if I connect an event handler to the KeyDown/Up events my code is never executed.

My masked text box has a very simple mask of "######" and is in standard mode.  Just to make sure it was not me missing something, I placed a standard Winforms masked text box onto my form by the side of the Telerik control and this behaved as expected and fired the KeyUp/Down events.

I am using VS2008 SP1 and my project is set to use .Net V3.5.

Anyone got any ideas, I can not see any properties that need to be set in order to enable these events.  Its causing me a lot of trouble, as I will need to use quite a few of these controls to get my application  completed.

Best Regards,

Karl Hunsley

José Miguel
Top achievements
Rank 1
 answered on 10 Jun 2009
3 answers
211 views
Hi there,

I can't seem to get a datepicker in a radhostitem (added to a toolstrip programmatically) to sit in line with the other controls on the toolstrip.

rtsi_Context is a RadToolStripItem

My code looks like this:-

    RadDateTimePicker dtPicker = new RadDateTimePicker();
            dtPicker.Name = "dtPicker";
            dtPicker.ThemeName = "Office2007Blue";
            RadHostItem hostItem = new RadHostItem(dtPicker);
            hostItem.MinSize = new Size(150, 10);
            hostItem.MaxSize = new Size(150, 10);
            //Add the item to the context menu
            this.rtsi_Context.Items.Add(hostItem);
            //Save a reference for later use.
            rdtp_Rundate = dtPicker;
            rdtp_Rundate.ValueChanged += new EventHandler(rdtp_Rundate_ValueChanged);

I tried setting various MinSize attributes for the Toolstrip and its various components- other controls aligned themselves appropriately but the radhostitem / datetimepicker appeared "stuck" to the bottom of the RadToolStrip container.

I put the above code into a button click handler just to make sure that I wasn't attempting to add the control before the toolstrip was initialized correctly, but with the same results.

Many thanks,
Mike Renwick
Martin Vasilev
Telerik team
 answered on 10 Jun 2009
5 answers
317 views
Hi All,

I am looking for a control that will enable me to create an Outlook Style alert (such as when I recieve a new message, a Screen Pop appears in the bottom right of the screen).  Does Telerik have something like this?
Martin Vasilev
Telerik team
 answered on 10 Jun 2009
1 answer
111 views
Hi, does RadMenu support localization? 
Nick
Telerik team
 answered on 10 Jun 2009
0 answers
217 views
To help avoid repetitive bug/issue reports, we are providing you with a list of common API differences between the old and the new versions, as well as a list of known issues and ToDos. Feel free to share your comments. More information on RadDock Q2 Beta you can find here.

Common DockingManager API vs RadDock Q2 2009 API

     

DockingManager RadDock Q2 Beta
using Telerik.WinControls.Docking; using Telerik.WinControls.Dock;
class DockableWindowCollection class DockWindowCollection
class DockPanel class DockWindow
(or ToolWindow or DocumentWindow)
interface IDockable interface IDockWindow
(generally DockWindow class can be used)
DdockingManager.SetDock(window, position) radDock.DockWindow(window, position)
DdockingManager.Float(window) RadDock .FloatWindow(window);
dockPane.DockTo(anotherWindow, state) dockingManager1.DockWindow(window, DockPosition.Bottom);
dockWindow.DockState = DockState.Floating;
or
dockWindow.DockState = DockState.AutoHide; etc
radDock1.DockWindow(dockPane, anotherWindow , state)
dockingManager.DockingStateChanged radDock.DockStateChanged
dockingManager.DockingStateChanging radDock.DockStateChanging
dockingManager.Hide(dockWindow, true); dockWindow.DockState = DockState.AutoHide;
dockingManager.LoadXML(fileName) LoadFromXml(fileName)
+ overloads available
dockingManager.SaveXML(fileName) SaveToXml(fileName)
+ overloads available
dockingManager1.Reset() radDock.Clear()
dockingManager.GetManagedDockables radDock.DockWindows
dockPane.TabStripVisible = false; dockWindow.TabStrip.TabStripElement.Visibility = ElementVisibility.Collapsed;
DockWindow.Activated event RadDock.ActiveWindowChanged/Changing

Known Issues

Issues with Events

  • Closing a Document by clicking the Close button will result in DockWindowRemoved to fire two times. The same can be observed when closing document windows by clicking a button;
  • DockStateChanging and DockStateChanged do not fire when double-clicking on a Floating window (to return it in the dock);
  • No events will fire when changing a dock window's state by drag and drop (for example when docking a floating window);
  • DockWindowRemoved will fire two times if removed the following way:
    radDock1.RemoveWindow(radDock1.DockWindows[0]);
  • DockWindowClosed and Closing will not fire when closing a Floating window.

Run-time Issues

  • Floating Windows can be docked even when Enabled = false;
  • Setting RightToLeft to true does not rotate the Windows and Documents appropriately;
  • Docking a floating ToolWindow into another floating ToolWindow will result in all actions such as Dockable, AutoHide, etc to do nothing;
  • Setting a window to be in AutoHide mode in design time, and showing the Context Menu at run time will restrict the AutoHide window from opening;
  • Showing one of two AutoSize windows which are on the same side in the container, and resizing it will break the other one (mouse hover will not open it);
  • Changing a ToolWindow to be Tabbed Document, closing it, then closing all other Document Windows, and drag and dropping a new ToolWindow to become a Tabbed Document will show the first, closed ToolWindow;
  • When all ToolWindows are set to AutoHide, clicking on Hide will do nothing. Nothing will happen if Dock is clicked afterwards as well;
  • Tool Windows added at design time, and set to AutoHide at run time will always hide them to the Left;
  • The Document Window text shows behind the buttons;
  • Adding one ToolWindow in two different ways through the API, and opening the ToolWindow's pop up at run time will result in an error;
  • Moving to Next/Previous Tabbed Group is not available at the moment.

Design-time Issues

  • In design time select a ToolWindow and change its DockState to Floating. Adding a new toolWindow after that through the Smart Tag will reset the changed DockState;
  • The splitter is difficult to be selected to resize the panels in design time. Even when resized, the new sizes are not applied at run time.

Serialization Issues

  • Load one layout two times. Clicking anywhere in a window will throw a Object Reference error;
  • Adding AutoHide windows to Right, Top or Bottom and saving and loading the layout afterwards will not load the AutoHide windows at the correct positions.
     

ToDo List for the Official Q2 2009 Release

  • New API to:
    • change the docking guide images;
    • to change docking guides' appearance through theme;
    • to enable theming.
  • XML serialization enhancements - floating containers will be serialized to allow for complete (and correct) deserialization;
  • Advanced layout designer (in VS designer);
  • Visual Style Builder support;
  • Splitter UI / theming support / API
  • Localization (through localization provider)
  • Better Right to Left support
  • Enhanced splitter drag behavior in VS designer
  • More demos
  • Help
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 10 Jun 2009
2 answers
323 views
Good morning,

I'm new to the telerik radchart control. I'm looking to put multiple items per row in a gantt chart. For example, if I had the following data

Name            To                From
Person1        1/1/2009        1/10/2009
Person1        1/12/2009        1/14/2009
Person1        1/15/2009        1/18/2009
Person2        1/8/2009        1/10/2009
Person2        1/15/2009        1/18/2009

So you'd have dates along the X-axis, names along the Y-axis. There would be two rows on the Y-axis (Person1 and Person2) and the graph would contain 3 values for Person1 and 2 values for Person2.

I'm not sure how to structure the code and setup the databinding to accomplish this.

Thank you,
Scott Vercuski
Scott
Top achievements
Rank 1
 answered on 10 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
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?