Telerik Forums
UI for WinForms Forum
2 answers
451 views

Telerik,

When I pin a RadDock to autohide it, and then mouseover on that hidden dock's tab, I get an ArgumentException saying that "A circular control reference has been made. A control cannot be owned by or parented to itself."  From what I've researched online, it seems like this is something that can happen if there is a naming issue where two controls or a dock and its panel have the same name.  I painstakingly verified that this is not the case in my code, and even started from scratch on a new form to keep it simple but still had the problem.  I eventually gave up and went with the DockingManager, which for some reason works fine.  I'm having some issues with performance with the DockingManager however, and since I've heard about other features contained in the RadDock that I'd like to have, I'd really like to successfully implement the RadDock.  Thinking that the "Convert to RadDock" feature would take care of whatever issue I had before, I used that on my working DockingManager, but to no avail.  Everything seems to work great until I hide a RadDock and mouse over the tab (note, I don't need to have my mouse directly over the tab... hovering over any part of the panel that contains the tab causes the same error).  Can you please assist me in solving this?  My app is C# using WinForms Q2 2009.  Let me know if you need more technical data.

Thanks,
Jeremy

Jordan
Telerik team
 answered on 12 Aug 2009
1 answer
399 views
Hi there,

I've created a theme for a RadPanel and a separate theme for a Vertical Scroll bar, how can I apply the scroll bar theme to the RadPanel?  At current if I turn on AutoScroll and fill up the panel I see the standard Windows scrollbar.

Cheers in advance.
Nikolay
Telerik team
 answered on 12 Aug 2009
1 answer
256 views
Hey guys,

I'm revising an application that is approaching release. Just to play it safe: What is an example of an Example of a "valid copyright message" as discusseed in the EULA? I obviously don't want to copyright my entire application under Telerik 2009, so I was wondering what would suffice?

Currently, I have:

GUI powered by RadControls for Winforms © Telerik 2009

Does this fulfill the requirement? I'm pretty confident it does - just want to play it safe.
Lidiya
Telerik team
 answered on 12 Aug 2009
4 answers
457 views
Hi,

I am trying to start edit mode in a cell in child gridview. Since GridView.BeginEdit() can only start edit mode in current cell, I need to set the current cell to be a cell in child gridview, using a similar approach mentioned in the radcontrol reference manual 
ms-help://telerik.winforms.2009.2/telerik.winforms.radgrid/Iterate_the_child_rows_collection_of_a_chosen_parent_row_in_hierarchy_RadGridView.html
i have tried this but it does not work
this.gridview.MasterGridViewTemplate.ChildGridViewTemplates[0].GetChildRows(gridview.Rows[i])[0].IsCurrent = true;  
//or 
this.dgPolicyComment.CurrentRow = this.gridview.MasterGridViewTemplate.ChildGridViewTemplates[0].GetChildRows(gridview.Rows[i])[0]; 
//for some i 
 
//then run this at the end 
this.gridview.GridElement.Update(GridUINotifyAction.Reset); 
for the code above I am trying to set the first row of a child gridview (of i th row of the master gridview) to be current cell

i have also found this post, 
and it seems the author cannot get it working either.
Thanks

Regards,

Derek
Siu Fung
Top achievements
Rank 1
 answered on 11 Aug 2009
1 answer
99 views
Hi!

Sometimes you need to show the user how data is structured and allow the user to select information in the structure.
The problem is to keep the gui clean and not to clutter it.
Often the form space you got to work with is very limited.

In theese situations I often use a dropdown control as a "dummy control" and a treeview to display the data.
When the user pressed the drop down control, I display the tree view.

What I think should be nice are a drop down control that
a) Contains a treeview (like the MultiDropDown implementation but not a gridview)
b) A "generic" drop down that I can use to add any control to using "Controls.Insert"

Alt. b could also be implemented in a way that it lets me "select" (type the name ei) any already existing control on the form, (like a property "EditorControl  [...]")
The control I selected will then (in runtime) be moved to inside the dropdown window.

Regards
Per



Victor
Telerik team
 answered on 11 Aug 2009
5 answers
188 views
Usually in tabs KeyTips are used as shortcut (by pressin Alt and then keytips in succession going from menu to submenu).
In StartMenuItems and StartMenuBottomStrip the keytip is not visible. So usual way of using shortcut is not working.
Any workarounds or I am missing something.
Jack
Telerik team
 answered on 11 Aug 2009
2 answers
195 views

 

 

As we do the following operation on Radbutton ,

 

Go to RadButton TasksàEdit UI Elements àGo to  Telerik.WinControls.RootRadElement / root element  Properties à Behaviouràselect ClickMode as “Hover” /”Press”

 

Then on compilation , we get the following error,

 

'Telerik.WinControls.Themes.TelerikTheme' does not contain a definition for 'WinControls' and no extension method 'WinControls' accepting a first argument of type 'Telerik.WinControls.Themes.TelerikTheme' could be found (are you missing a using directive or an assembly reference?)

 

 

That is : if we use ClickMode as “hover” or “press” , may be it doesnot support , whereas it is supporting in case of ClickMode as “ Release”.

Is it happening because of using trial version of Telerik controls.  ???

Shikha

Victor
Telerik team
 answered on 11 Aug 2009
2 answers
182 views
Hello,

I would like to remove the sort when clicking on a column header and develop my own context menu which contains a "sort" item calling the telerik sort methods.

The only way I found to remove the sort with the header consists in setting to false the property EnableSorting. But if I do this the sorting method of the API doesn't work anymore.

Can you help me?

Thanks
bertrand
Volle Bertrand
Top achievements
Rank 1
 answered on 11 Aug 2009
5 answers
187 views
Hi,
I have a GridViewCommandColumn in my grid. I populate the grid, sort on the command column. Then in some operation I update the values of the GridViewCommandColumn. Upon clicking any cell of this column, I get the following exception

Message : {"Expecting 1 value(s) for the key being indexed, but received 0 value(s)."}
Stack :    at System.Data.Index.FindNodeByKeys(Object[] originalKey)
   at System.Data.Index.FindRecordByKey(Object[] key)
   at System.Data.DataView.FindByKey(Object[] key)
   at System.Data.DataView.Find(Object[] key)
   at Telerik.WinControls.Data.DataAccessComponent.FindRow(GridViewRowInfo rowInfo)
   at Telerik.WinControls.UI.GridViewInfo.GetVisibleRowIndex(GridViewRowInfo rowInfo)
   at Telerik.WinControls.UI.GridCellElement.get_RowIndex()
   at Telerik.WinControls.UI.GridViewCellEventArgs..ctor(GridCellElement GridViewCell)
   at Telerik.WinControls.UI.GridCommandCellElement.OnClick(EventArgs e)
   at Telerik.WinControls.UI.GridCommandCellElement.button_Click(Object sender, EventArgs e)
   at Telerik.WinControls.RadItem.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
   at Telerik.WinControls.RadItem.DoClick(EventArgs e)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadElement.CallDoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.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 Microsoft.AdCenter.CommunityPlatform.UI.Desktop.Program.Main() in c:\Enlistments\CommunityPlatform\Dev\private\src\UI\Desktop\Program.cs:line 19


Please suggest what can be wrong here.

Thanks
Ankur
Jack
Telerik team
 answered on 11 Aug 2009
2 answers
249 views
When attempting to associate the Click event of the radButtonElement of radToolStrip, Application throws error

"Index (zero-based) must be greater than or equal to zero and less than the size of the argument list".

I have tried
RadButtonElement radButtonElement = new RadButtonElement("Test");
WorkItem.Commands"MyCommandName".AddInvoker(radButtonElement, "Click");

with a regular ToolMenuStrip, however, i do not run into this problem. Any ideas?

Thanks in advance.
Jordan
Telerik team
 answered on 11 Aug 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?