Telerik Forums
UI for WinForms Forum
3 answers
193 views

Hello Telerik team,
I should start by saying your tools are pretty cool.

My question has to do with the radCarousel component. I would like my form to work exactly like the RadWin demo.

i.e. Click on a menu on the left > which displays options in a carousel.

 

Features I would like to include in a prototype I am working on:

- Show three options in a carousel

- Click each option and have it go round the carousel like the RadWinDemo

- Hover over RadItem makes the item glow

- Launch external form on clicking on RadItem in the middle (clicking on items on the left and right should perform normal animation)
- The easing effect animation as each item is clicked or scrolled.

 

Question:

- Can I load a theme that accomplishes all this? If so how do I do this?
- Please provide step by step directions on how to accomplish this...

Thanks.
 

Peter
Telerik team
 answered on 12 Aug 2009
3 answers
147 views
Hi,

I am trying without success to serialize the grid's settings using the SaveLayout function.
I call SaveLayout in the FormClosing event. The exception is always the same, and reproducable on different machines and different (sample) projects.

The Argument exception i get is:
The name '(default)' contains characters that are not valid for a Culture or Region. Parameter name: name

which is thrown:
at System.Globalization.CultureTableRecord.ValidateCulturePieceToLower(String testString, String paramName, Int32 maxLength)


My CurrentCulture and my CurrentUICultrue are both "en-US". I was able to make the SaveLayout() work in a sample app that I created from scratch, with nothing in it, no data, no databinding.

However, in my main application, where I add columns programatically, and databind to a Bindingsource, I get this exception. I have been able to remove all properties set in the .designer.cs file so that only the very default settings are used when calling SaveLayout. It seems that if I do NOT add any columns at all to the grid, the SaveLayout() does not throw the exception (but nothing is saved because there is nothing to save, I guess? The resulting XML file is empty save a root node <RadGridView/>). As soon as I add one single column -- which in my case id done during Form.OnLoad -- the exception is thrown.

My grid is readonly, and filtering, grouping is turned off. Editing/deleting rows is done programmatically. There is no context menu, etc. The only thing the user can do, really, is 1.) sort and 2.) change the column widths.

I can reproduce the error with having the Telerik DLLs locally (CopyLocal=true), as well as referencing them in the GAC.
I can reproduce this with 2009 Q1 SP1 and 2009 Q2. My subscription expired before I could test with Q2 SP1.

Any idea?

Thanks.
Jack
Telerik team
 answered on 12 Aug 2009
2 answers
382 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
363 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
208 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
418 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
61 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
162 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
149 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
155 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
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
CheckedDropDownList
ProgressBar
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?