Telerik Forums
UI for WinForms Forum
3 answers
212 views
Hello,
I have problem with using two datasource in one column in my grid. I have two columns:
- column to choose type of number
- column GridViewComboBoxColumn with numbers binded to datasource
User in every rows can choose type and number from next column, I have two data source with numbers A, and number B. Can I define datasource for any rows? Someone implemented this mechanism ?
I use Q2 2010. 

Thanks for help
   Marcin
Richard Slade
Top achievements
Rank 2
 answered on 03 Jan 2011
3 answers
236 views
Hi there....
I'm using Winform 2010 3 10 1109 dev....
I'm attached picture when the button is enable, disable, then I'm enable it again....
there are something wrong, the button not looks like the first when i'm enable it...
but the function is the same...
What's wrong with the button...??
first enable
disable
enable Again
Stefan
Telerik team
 answered on 03 Jan 2011
2 answers
114 views
GridViewRelation selfRelaction = new GridViewRelation(this.radGridView1.MasterTemplate, this.radGridView1.MasterTemplate);
selfRelaction.ParentColumnNames.Add("column1");
selfRelaction.ChildColumnNames.Add("column2");
this.radGridView1.Relations.Add(selfRelaction);
this.radGridView1.Columns["column1"].IsVisible = false;
this.radGridView1.Columns["column2"].IsVisible = false;
this.radGridView1.Rows.Add(1, null, "1", "1", "1", "1");
this.radGridView1.Rows.Add(2, 1, "1", "1", "1", "1");
this.radGridView1.Rows.Add(3, null, "1", "1", "1", "1");
this.radGridView1.Rows.Add(4, 3, "1", "1", "1", "1");
this.radGridView1.Rows.Add(5, null, "1", "1", "1", "1");

//error : radGridView1.Rows.Count is "0"!
this.radGridView1.Rows[0].IsExpanded = true;
this.radGridView1.Rows[2].IsExpanded = true;

radGridView1.Rows.Count is "0"!
Help me! Both Q2 and Q3!

0930
Top achievements
Rank 1
 answered on 31 Dec 2010
1 answer
165 views
Hi,

How do I set the height of the tab that is shown when a toolwindow is autohidden?

if I use

radDock.AutoHideWindow(toolWindow);

in the forms ctor the height of the tab is smaller than when doing it in the forms Load eventhandler or when the users manually autohides a toolwindow.

Thanks,
Brian

Ivan Todorov
Telerik team
 answered on 30 Dec 2010
2 answers
200 views
Hi,
I have a problem with submenus width in a radapplicationmenu inside a radribbonbar.
My submenus are larger then the main menu.

How ca I set my submenus as large as my main menu ?

As attachement a screenshot of my problem

Main Menu
Sub Menu
Jean-Marc Windholz
Top achievements
Rank 1
 answered on 30 Dec 2010
3 answers
272 views
Hi

    How can I disable hot tracking from column header elements?

Regards

Raymond
Top achievements
Rank 1
 answered on 29 Dec 2010
1 answer
201 views
Hi,

I am using RadChart to show datetime values in X Axis. I need to show in the values, both values: x and y.

I use the property DefaultLabelValue in Series object: this.radChart1.Series[0].DefaultLabelValue = "#Y";      

I need show X value in shortdate format. If I write this.radChart1.Series[0].DefaultLabelValue = "#X,#Y"; , the values are doubles and not datetime.

Thanks,      
Evgenia
Telerik team
 answered on 29 Dec 2010
1 answer
137 views
If you are using these new controls, be aware that there are subtle inconsistencies between them and the standard Windows Forms controls.
If you rely on standard behaviour, your code may not work as expected.
I expect telerik to fix that, so when you code to the controls as they are now, expect having to change that back again with upcoming releases.

Bugs I found (and reported) so far:
- FindStringExact throws an Exception if Item.Count is 0
- Adding an Item to the DropDown List clears the TextBox

Regards
Erwin

Peter
Telerik team
 answered on 29 Dec 2010
3 answers
253 views
Hi!

I am using RadPanel as a container for 8 buttons (generic winforms buttons) and use it to enable or disable all the buttons at once. The problem that I am facing is, that after enabling the panel, buttons are not drawn as enabled immediately, but are drawn as enabled in a haphazard manner (eg.: first two buttons are drawn as enabled, followed by 3 other buttons, etc). On a generic panel buttons are drawn immediately without any extra settings, so my question is, how can I enable the same behavior on RadPanel? I tried doing Refresh immediately after enabling the panel, as well as enabling double buffering, but it didn't help. I am using version 2010.3.10.1109 of WinForms.
Ivan Todorov
Telerik team
 answered on 29 Dec 2010
1 answer
124 views
Hello all.
I see a strange behaviour when using the RadGridView instead of the DataGridView.
The grid's property is set to not allow to add new lines and not to be editable.

I have a win form with a DataGridView and two edit fields and a binding navigator.The DataGridView and the edit fields are bound to a database table.
If i press the „Add“ button in the binding navigator, the DataGridView scrolls down to the bottom, adds an empty line at the bottom and the two edit fields are cleared. After entering data in the edit fields, and selecting any other items in the DataGridView, the values from the edit fields are shown in the new line at the bottom of the grid.

Now I have replaced the DataGridView with the RadGridView 2010 Q3.

If I press the „Add“ button in the binding navigator, the RadGridView scrolls down (but not to the very bottom), adds an empty line at the bottom, however it does not scroll to this new line. So it’s invisible until the user scrolls the list to the end. The two edit fields still have the content of the last selected item. They are not cleared. I can overwrite in the two edit fields the existing values with some new values. The new values are now in the dataset but the RadDataView is not updated with the new values. At the bottom in the grid, there is still the new empty line. If I click on the empty line, the correct values are shown in the edit fields.
If I sort the RadGridView the empty line is updated with the value, entered in the edit field.

I want a behaviour like the .NET DataGridView.


I had a chance to install the 2009Q3 version of WinForms. And surprisingly here the behaviour is as I have expected (same as MS DataGridView).

So this leads to the conclusion, that between the versions 2009Q3 and 2010Q3 there was introduced a problem with the update mechanism.
Alexander
Telerik team
 answered on 29 Dec 2010
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?