Telerik Forums
UI for WinForms Forum
1 answer
105 views
I have found it difficult to use Themes in general and the Color Blend facility in particular because there is no documentation to support them. 

What would be really useful is:
  1. Detailed samples showing every control under all available themes.  
  2. For each Theme a list of the main colours used and what they are used for.   This would help use Color Blend to replace these in our own applications

 

This should be in the documentation or on the website and not just a few snippets in the Forum or Blogs when somebody asks a question.

I apologise if this alreadty exists but I have hunted for it many times and not found it.

Mike

Victor
Telerik team
 answered on 01 Jun 2009
1 answer
133 views
Hi,
When i click on the date control to change the date and if i don't select the date and click outside other than calendar, it remains in its position. Even if i click on the Arrow button to close it the calendar dislocates itself to some other postion. This gives a very weird behaviour to the dataTime picker.
Please can you tell me why is this happening or am i missing some property settings for it.
Boyko Markov
Telerik team
 answered on 01 Jun 2009
1 answer
153 views
Hi there,

I've been using your product in trial extensively and we're just about to purchase it, and it's been a great pleasure to use, with excellent forums covering 90% of what I've wanted to try and do so far.

I'm currently stuck on something that I just can't get to work.

I'm trying to provide certain database bound historical information in a right-click context menu (/panel).
The consist of another datagrid of information, and depends on the row being right-clicked.

I have implemented a RadGridView with a custom context menu event handler
rgvRatings_ContextMenuOpening

which:
-Opens a manual connection to my database and executes a stored procedure returning certain drill down information contextually on the row I'm looking at.
-Sets the DataSource of a RadGridView to point at my newly acquired data
-Creates a RadDropDownMenu;
-Creates a new RadHostItem to host the "History" RadGridView, and then finally
-Sets the ContextMenu to be this newly created RadDropDownMenu
-Sets appropriate MinimumSize fields so that the hosted item is properly sized and visible.

This actually works the first time I right click on something, but only the first time. 
After that, the context menu that appears always contains the same data, no matter if I clear it.

There are some questions surrounding this:-
-How can I update the datasource of a RadHostItem's hosted control (I tried using RadControlHostItem, a derived class that basically exposes the "HostedControl" as a Control on the RadHostItem)
-Is creating the HistoryGrid at design time as I've done a bad idea ? I ask because I found programmatically instantiating a RadGridView very awkward and it never quite worked as expected.
-What happens to the control "x" when you instantiate a RadHostItem(x)? I ask because the grid does disappear, even when I tried to instantiate the RadHostItem pointing at a copy of the grid, rather than the grid itself (I admit I'm extremely new to C# so this may be because I don't know how to clone an existing object...)
-Having "surfed" the object "e.ContextMenu" at runtime in debug mode, it seemed to have the RadHostItem with grid inside and the grid showing a datasource that had the right data in it.. (may be going mad), could there be some form of contextmenu caching that has caught me out or is this a red herring?

I realise this is quite an involved question, but it is causing quite a headache, so any pointers or hints would be most welcome!

I'm also open to suggestions like "Have you thought of using this completely different component and approach to achieve a similar result" type of thing!

Regards,
Mike Renwick

Victor
Telerik team
 answered on 29 May 2009
14 answers
914 views
I am attempting to use grid sorting by clicking on a column heading. This works as expected but I need to sort on a different hidden column when the user clicks a visible column.

RegNumber is the visible column.
RegKEY is a hidden column that I need to sort the grid by if the user clicks the heading on RegNumber.

I guess I need to trap the column heading click event and override the sort in some way by replacing the sort expression. I found some info suggesting I use the SortChanging event but I don't seem to be able to get this to work.

I have tried changing the sort field name without success and adding an expression to the MasterGridViewTemplate.

Any help or samples would be appreciated.

Declan
Declan
Top achievements
Rank 2
 answered on 29 May 2009
1 answer
77 views
Hi,

Ive run into a problem where in an mdi application using the docking manager to auto detect the child forms, when you switch between forms, the leave event is fired by the form that fired the enter event, instead of the form that was previously visible.

Ive tested this with a basic mdi form setup using just .net controls and it works fine, the moment I add a DockingManager and set it to autodetectmdiChildForms the events are fired by the same form.

If you know a work around that would be great?

Cheers
Adrian
Julian Benkov
Telerik team
 answered on 29 May 2009
1 answer
105 views

 

 

I'm attempting to load default chart settings from an xml file like this:-

RadChart chart = new RadChart();
chart.LoadFromXml (filename)
 
But the default size of chart (400px x 300px) seems to get used despite the fact that my xml starts like this :-

<RadChart Location="0, 0" Size="300, 200" TabIndex="0">

Why is this? Is it a bug? Are there any other items that cannot be set from the xml file?

Andrew

Dwight
Telerik team
 answered on 29 May 2009
1 answer
183 views
hi there,

I've noticed some odd behaviour with a RadGridView in a project of mine- 
Basically the grid is built at runtime as the data is provided by a stored proc that can vary the number of rows/columns depending on parameters.

As such, to correctly create a checkboxcolumn for "bit" type data, on Databind, I locate columns with bit data and instantiate GridViewCheckBoxColumns to replace them.  This works as expected and populates the checkboxes appropriately, so so far so happy.

The odd thing I noticed after implementing various bits of logic on the ValueChanged ValueChanging cell, and while fiddling around with right-clicking on the grid (context menus etc) was that if you right click on the checkbox cell, a context menu appears as expected, but if you right click on the actual check-box element, sometimes the check toggles, but most mysteriously without firing the ValueChanged or ValueChanging event... !

I'm pretty sure it's not something I've done, so may be worth investigating?

I unfortunately don't yet know enough about C# or your internal object structure to be able to work around this particular issue

Regards,
MIke Renwick
Nick
Telerik team
 answered on 29 May 2009
5 answers
142 views

Hi,

I want to build a control which has the following capabilities.

1. ListView like columns, with image buttons (to expand)
2. A row will expand to show another control (details)
3. The ListView should be hierarchical

Sorry for my poor ASCII art, consider it a christmas laugh : )
> Col1 Col2 +
> Col1 Col2 -
___________________________________
|Some user control with charts etc|
|_________________________________|
> Col1 Col2 -
___________________________________
|Some user control with charts etc|
|_________________________________|
> Col1 Col2 +

What would you recommend? I thought of using the Grid.
But, at least in Q2, I couldn't add my tailor made user 
controls as rows.

Thanks, happy christmas holidays!
/ jorge

Nick
Telerik team
 answered on 29 May 2009
4 answers
109 views
Hi!

Today I uppgraded to Q1 2009 (from Q3 2008)

Before I upgraded all my grids were working fine but after the upgrade my grid layouts changes after I rebind the grid.
Am I missing something or is this a bug?

Heres what happens:
1) I have a rad grid that is connected to a datasource
2) I open the rad grids property builder and select visible=false on the 2 first columns in the list
3) I press OK, now the 2 first columns are not visible in the VS IDE
4) I run the program and the 2 first columns are still hiden, perfect
5) I now press a button that binds the datasource to a list of object
6) What happens now is that every settings that I made in the property builder is gone and all columns in my objects are displayed!!!

It's like it do a "auto create columns"

Please tell me that im missing something..

Regards
Per


Nick
Telerik team
 answered on 29 May 2009
1 answer
172 views
I would like to use LoadFromXml to load the settings for a chart. Is the XML file schema documented anywhere?

Andrew
Dwight
Telerik team
 answered on 29 May 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?