Telerik Forums
UI for WinForms Forum
1 answer
98 views

HelIo,

I have a structure that looks like following:

Class TreeNode  { 
   
public TreeNode Parent { get; } 
   
public IEnumerable<TreeNode> Children { get; } 
   
public …  

I want to bind this structure to a Telerik RadGrid with detail tables for each level of the children. I know that radgrid supports declarative binding to a self-referencing hierarchy, but that assumes you have a flat dataset (e.g. from a database) and can look at a parent key field of some sort. My question is: It is possible to bound a radgrid to a data structure like the one I mentioned and is there a way to do it declaratively?

Thanks in advance,

Misa
Martin Vasilev
Telerik team
 answered on 22 Jun 2011
1 answer
147 views
Hi,

When using a CommandBarDropDownButton and having two menu items, the sizing appears to be off (see attached image) and there is a lot of extra padding at the bottom.  This works fine with 3 or more menu items.  Is there a way to correct this?

Thank you.
Ivan Todorov
Telerik team
 answered on 22 Jun 2011
1 answer
383 views
I have a RadTreeView with top nodes and each top node may have children (subnotes) depending on my database data source.

Top node 1
    |___ Sub node 1
    |___ Sub node 2
    |___ Sub node 3
Top node 2
    |___ Sub node 1
    |___ Sub node 2
    |___ Sub node 3
    |___ Sub node 4
Top node 3
    |___ Sub node 1

I have consigured all my top nodes to have a ContextMenu (radContextMenu1) associated with it.
For all the Sub notes of any top node (so for Sub node 1, 2, 3 of Top node 1; Sub node 1, 2, 3, 4 of Top node 2 and Sub node 1 of Top node 3 and any other subsequent Sub note of any other possible Top node), I want a context menu (radContextMenu2) to appear and I want to do this through C# code, not at design time.
The only example that you seem to provide is how to acomplish this at design time and only with predefined nodes; not database driven ones, like mine.

Here is the only example that you provide:

RadTreeView1.Nodes[0].ContextMenu = radContextMenu2;

This will NOT work in my case since my menu is constantly changing based on my dasaset.
In essence, I am looking for something like this:

RadTreeView1.AllSubNodesAtLevel[0].ContextMenu = radContextMenu2;
(where level 0 would be ALL the Sub nodes in the above pictured schema)

Thank you!
Nikolay
Telerik team
 answered on 22 Jun 2011
6 answers
191 views
HI,

I have a GridView with a checkbox column. When I would click on the column header checkbox checks all stay true.
Could anyone help me?
Francois
Top achievements
Rank 1
 answered on 22 Jun 2011
10 answers
520 views
Hi,

I have list control with data on a user control.

I have subscribed for a double click event for a listcontrol.

as there are lot of items in the controls, when the user clicking on scroll bar to go donw the list. it is firing the double click event and thus selecting the wrong item, instead of continue scrolling down as the click was on the scroll bar and not on the item.

please advice.

Regards,
khizar
Martin Vasilev
Telerik team
 answered on 22 Jun 2011
1 answer
81 views
I have tried setting the ThousandsSeparator both in the Property Builder and in code, but it has no effect on the display of the grid's numbers.  I am referencing GridView v2011.1.11.315.

Is this a known issue or am I missing something? 

Private Sub gridIssues_DataBindingComplete(sender As Object, e As Telerik.WinControls.UI.GridViewBindingCompleteEventArgs) Handles gridIssues.DataBindingComplete
      CType(gridIssues.Columns("balance"), GridViewDecimalColumn).ThousandsSeparator = True
End Sub




Nikolay
Telerik team
 answered on 22 Jun 2011
5 answers
240 views

Hi,

When I move by mistakes a node on the node over him, the application crash with the error bellow.

To reproduce this,
> Create a treeView with 2 nodes inside!
> Move the second node into the first one,
> Do it again (Move the second node that is already into the first one exactly as you did before)

I hope you can reproduce it and tell me how to avoid this problem.

Best regards, Fred




System.ArgumentOutOfRangeException was unhandled
  Message="Index must be within the bounds of the List.\r\nParameter name: index"
  Source="mscorlib"
  ParamName="index"
  StackTrace:
       at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
       at System.Collections.Generic.List`1.Insert(Int32 index, T item)
       at Telerik.WinControls.UI.RadTreeNodeCollection.InsertItem(Int32 index, RadTreeNode node)
       at System.Collections.ObjectModel.Collection`1.Add(T item)
       at Telerik.WinControls.UI.RadTreeView.FinalizeDrop(RadTreeNode targetNode, RadTreeNode draggedNode, ArrowDirection arrowDirection, RadTreeView endTree)
       at Telerik.WinControls.UI.RadTreeView.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at WindowsApplication1.Program.Main() in C:\Documents and Settings\badoux0f\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Program.cs:line 17
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()



Svett
Telerik team
 answered on 22 Jun 2011
1 answer
195 views
Is it possible to customize Group By labels in the group panel?
I've looked and the following example (http://www.telerik.com/help/winforms/gridview-grouping-formatting-group-header-row.html) and it only demonstrated how to customise group heading rows, not the labels in group panel.
Martin Vasilev
Telerik team
 answered on 22 Jun 2011
1 answer
140 views
Hi all
 I downloaded the trial version of 2011Q1 and made some small sample applications in VB.net in VS2010.
Now I want to make a setup project using Installshield 2011 LE available with VS2010.I made a setup project and installed in another machine without any prior rad controls and it was not working.(I took the primary output of my project in the APP folder of Installshield and also added the necessary telerik files like Win.UI.dll,Win.grid,win.themes etc.

Later I made a setup with windows setup and deployment project and it was working perfect.

So can any one shed some light on making an Installshield installer package with telerik components


Kind Regards

Renju
Peter
Telerik team
 answered on 22 Jun 2011
7 answers
155 views
Hi,

like the title it says. is there a property / way to disable the inline editor? Cant find such an option.


greetz
Stefan
Telerik team
 answered on 22 Jun 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?