Telerik Forums
UI for WinForms Forum
1 answer
164 views
I would have thought that the Text property will set the caption of the grid but it does not do it. Any idea what is the use of Text property?

More important how do I set the caption for the grid ( other than putting a separate label on the top og the grid )
Nikolay
Telerik team
 answered on 11 Jul 2008
1 answer
171 views
I am trying to persist the layout of all panels to disk whenever they are closed. I'm running into a few issues (which may be moot if there is an easy way/pattern to persist to disk which I just overlooked).

I have a DockPanel which contains a user control with its own DockingManager and DockPanels. In an ealier thread (and based on my experience) I know that the Closed event does not get called on the subordinate DockPanels. That's ok, I can work around that.

The problem I have now is that *I'm* trying to call a method on all subordinate DockPanels and I cannot find them all. Here's what I'm doing:

//This part is called on the parent DockPanel,
//which is subclassed to support the "Save" method to persist to disk
  private void SubClassedDockPanel_Closed(object sender, EventArgs e)
  {
   this.Save();
   this.SaveAllChildren(this.Controls);

   if (AfterClosed != null)
   {
    AfterClosed(sender, e);
   }
  }

  private void SaveAllChildren(ControlCollection controls)
  {
   foreach (Control c in controls)
   {
    SaveAllChildren(c.Controls);

    if (c as IDockManager != null)
    {
     IDockManager dManager = c as IDockManager;
     foreach (IDockingSite site in dManager.DockingSites)
     {
      foreach (IDockable panel in site.ManagedDockables)
      {
       if (panel as SubClassedDockPanel != null)
       {
        (panel as SubClassedDockPanel).Save();
       }
      }
     }
     return;
    }
   }
  }

basically I look for any DockingManagers in the parent DockPanel's controls and then iterate over all of their ManagedDockables in all the DockingSites. This works with the exception of when I AutoHide a child DockPanel.

There are a few difficulties I've encountered regarding "AutoHide". First is that it causes the Closed event to fire on the child panel that is being unpinned. I'd like to understand why this is happening, and (leading into my second difficulty) where does it go? The algorithm above will not find the autohidden DockPanel.

Any assistance is greatly appreciated, I know I've posted a few questions today,
Sid

Julian Benkov
Telerik team
 answered on 11 Jul 2008
2 answers
128 views
I have a DockPanel, created at runtime, which contains a user control with its own DockingManager and DockPanel layout. If I float any of the child DockPanels and then try to reattach them to their original location I have to perform the operation twice. The first time the window moves near the button on the assistant, and the second time it actually locks into place.
Julian Benkov
Telerik team
 answered on 11 Jul 2008
12 answers
669 views
hi,

    I want to draw a Gantt chart with date on X-axis, Time on Y-axis.
    I need to get all the values from XML.
    Can u share some sample code to draw a Gantt chart like for a particular day from one particular time to another particular time.?
how i need to write a XML so that the chart can bind the XML data to the chart?

ex:  on 02-06-2008 i should plot the gantt chart from 5:00 P.M to 7.00 P.M

help is highly appreciated.

regards,
chandra

Dwight
Telerik team
 answered on 11 Jul 2008
1 answer
106 views
I have two separate forms which may be open at the same time and I don't want users to be able to dock panels from one form in the other.

Could someone point me in the direction of an example of how to restrict the potential docking sites for a dock panel at runtime.

I've looked into the DockingManager, but it appears to be all or nothing... or I'm just not using it correctly.

Thanks in advance,
Sid
Julian Benkov
Telerik team
 answered on 11 Jul 2008
1 answer
194 views
Hi All

I am currently assessing whether to use / purchase the RadControls for WinForms.

I am having some display problems when using multiple (10 or more) PanelGroups within a PanelBar.

I need to show a subset of the groups so I hide some using
Visibility = ElementVisibility.Collapsed
But the scrollbar appears to have a length associated with all the groups whether they are visible or not. Can I control the scrollbar length to only be that of what is on the PanelBar?

Also when the groups sub-panels have multiple items in (a few controls) the scroll repaint leaves the panels overdrawing each other. Again, is this something that can be worked around?

An example project highlighting these issues can be supplied on request.

I hope you can help!

Best Regards,

David
Boyko Markov
Telerik team
 answered on 11 Jul 2008
3 answers
245 views
I created a shaped form with the "rounded rectangle" look.

I set it to start out maximized and when I run the app the form is taking up about 3/4 of my screen. Its definitely maximized because I can't move it and if I double click the title bar it goes back to its default size.

Any ideas?

David
Angel
Telerik team
 answered on 10 Jul 2008
3 answers
256 views
Is there any way to align either the RadToolStripElement control or the RadToolStripItem control all the way to the right of its RadToolStrip container?

When using the MS-provided ToolStrip control, it's just a matter of setting the alignment property of a ToolStripItem.

I see there is an "alignment" property exposed for the RadToolStripItem control.  However, changing the property value doesn't really seem to work as I would expect it to.  For example, I have three RadToolStripItems within a RadToolStripElement.  Initially, all three of them had the alignment property set to "MiddleLeft" by default.  Then, I changed the third one's alignment property to "MiddleRight" in hopes that it would do what I was hoping it would.  Unfortunately, it didn't do what I expected.  Instead, the third item is actually showing on top of the second item.  I initially thought perhaps it's due to the ToolStripElement's autosize property having been set to True.  So I set it to False and resized the control to make it bigger but I still can't get the third item to align right.

Is there another property/method for what I am trying to do?



Nikolay
Telerik team
 answered on 10 Jul 2008
5 answers
166 views
Hello,

I would like to set the vertical scroll bar on a given value when I load a RadTreeView. But I face the following problem :

After the RadTreeView loading, the Minimum and Maximum properties of RadTreeView.VScrollBar object remain to 0. So the value I want to apply is forbidden.

What is the correct way to achieve this ?

Thanks in advance,

Laurent VP.
Nikolay Dobrev
Telerik team
 answered on 09 Jul 2008
2 answers
198 views

Hi all from Telerik.

Congratulations for RadControls.

I'm testing the RadCarousel with NORTHWIND database (SQL Server 2005 Express).

I'm using the Employee Table and RadCarousel display the Photo.

When I change the picture, I think the radCarousel don’t paint correctly.

Can you help in this test?

I used Visual Studio 2008 Express, Windows Form Application with C# and LINQ for DataAccess.

Simple and easy.

Image:

http://www.andre-abrantes.150m.com/radCarouselEmployee.jpg http://www.andre-abrantes.150m.com/radCarouselEmployee_Release.zip http://www.andre-abrantes.150m.com/radCarouselEmployee_Source.zip

Thanks in advance.

André Abrantes.

Mike
Telerik team
 answered on 09 Jul 2008
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?