Telerik Forums
UI for WinForms Forum
3 answers
175 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
276 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
86 views
Hi, does RadMenu support localization? 
Nick
Telerik team
 answered on 10 Jun 2009
0 answers
185 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
299 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
1 answer
122 views
Hi, I am trying to create a look and feel of the Explorer Style as shown in the link.

How would I go about this? Am I using the wrong control? is the panel bar not capable of this? 

Thank you!


Boyko Markov
Telerik team
 answered on 10 Jun 2009
6 answers
569 views
Hi,

I have a RadPanel with two controls on it, one is a RadGrid, the other is a Panel with some other controls on, which is made visible or invisible by the user.

I would like the RadGrid to fill the available space in the RadPanel, i.e to fill the whole panel when the other control is hidden or fill up to the other control when it is visible.  Currently when I set the GridView.Dock to Fill it fills the whole panel and other control is on top of it.

I am sure there is a simple way or property setting to sort this, could someone let me know asap as I am trying to finish this today.

Kind regards
Jack
Telerik team
 answered on 10 Jun 2009
2 answers
140 views
Hello,

I am having a strange issue when selecting few rows in my gridview. To select rows each one have a checkbox.

If I select a row, its background color is changed. If I select another row the background of the actual row is changed but the background color of the previous row dissapears. Theorically the color of the previous selected row sholud remain because is still selected.

Is it necessary to set a property for this?or isn´t this possible to do? I have been checking on-line demos and I have noticed it happens the same as it happens to me, but I don´t know whether this occurs by chance or is impossible to configure.

My other question is the following: in the gridview of my web application I use GridClientSelectColumn to select and unselect all rows. Does exist an equivalent data bound column in desktop applications?

Thank you in advance.
Victor
Telerik team
 answered on 10 Jun 2009
3 answers
93 views
I uncheck a field to Hide it, but when I run my program the field still shows up.

This radGridView is using a bindingsource.

For most of my radgridviews, it works fine, no issues and the radgridview seems really polished but on a few radgridviews... i want to hide a field but it still keeps showing up anyway, even if I delete it.

Any ideas?

Jack
Telerik team
 answered on 10 Jun 2009
7 answers
161 views
Hey at Telerik

I have hooked up the CellEditorInitialized event for the grid and tried to
change the Font of the opening Calander portion for a RadDatetimePickerColumn.
I can se at runtime that the instance of the DefaultBehaviour holds references to the RadCalender control in the RadDateTimePicker.

How can i change the Font of the Calender portion?

I also need to have weeknumbers enabled on the calender, but one solution fixes the other, i hope. :)

Regards

Morten.
Boyko Markov
Telerik team
 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)
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?