Telerik Forums
UI for WinForms Forum
1 answer
107 views

Is there some obvious explanation for this that I'm missing?
I'm experiencing what seems like control events being shared, perhaps by using a shared datasource.

I have a form with a RadListBox where the user can select an item in the listbox, and it loads details on the right. This is done by handling the listbox's SelectedIndexChanged event.

Now I'm transitioning to using a RadGridView instead so I can display extra information about the items.
To get it started, I simply added the grid to the form, added the necessary display columns, and without changing anything else, bound the grid's datasource to the same as the list. (No events set up on the grid yet. I just want to make sure the datasource is providing the information I need.)

What's weird though, is that selecting an item in the Grid ALSO selects that item in the listbox. The Listbox's SelectedIndexChanged event fires, and the sender is the Listbox (NOT the Grid, though I've only interacted with the Grid.)

The only thing that seems to 'link' the two controls basically looks like this:

form_Load(...) {
 // MyFactory.AListObject gets a List<display_object> from a data factory.
 // display_object is a simple object with a handful of display-able properties, no actual 'logic' in it.

  myListBox.DataSource = MyFactory.AListObject;
  myGrid.DataSource = MyFactory.AListObject;
}

Any idea why the grid's events are getting sent to the listbox?

P.S.
I'm currently using the Q2 controls.

Victor
Telerik team
 answered on 24 Nov 2009
2 answers
245 views
How to change the row back color of the rows in for loop after binding the data source.Without using the Radgridview Events how to change the row back color in for loop / For each loop of the radgridview rows?
Robert
Top achievements
Rank 1
 answered on 23 Nov 2009
1 answer
103 views
Hey

     I am using Rad Grid view. I am loading 24K records and its taking 30 seconds to load.  If i tried to Move my form , form shows "Not responding ".    How can i stop this ? Is  there any way to reduce the loading time ?

regards
Naji

Robert
Top achievements
Rank 1
 answered on 23 Nov 2009
2 answers
74 views

I am working on a localization provider for the Radscheduler. 

I have translated the values of the comboboxes but now the texts in the comboboxes are unsorted. 

Is it possible to re-sort the comboboxes after applying a localization provider ? 

Kind Regards,

Ramius

Ramius
Top achievements
Rank 1
 answered on 23 Nov 2009
5 answers
218 views
Hi,

I'm creating an application that will allow users to drag and drop files from Windows explorer into a RadTreeView.  I have been unable to highlight a node as a drop target when a file is dragged over it.  Is this possible?

Ideally I would like to determine which node the user is hovering over when dragging the file, hightlight the node and change the drop icon to either an allow or disallow icon depending on the node tag.

Many thanks,

Joe
Victor
Telerik team
 answered on 23 Nov 2009
5 answers
329 views
Control version: RadControls for WinForms Q2 2007

I created a theme for my labels to have the following property:
<?xml version="1.0" encoding="utf-8"?>
<XmlTheme xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" ThemeName="TestTheme">
  <BuilderRegistrations>
    <XmlStyleBuilderRegistration BuilderType="Telerik.WinControls.DefaultStyleBuilder">
      <StylesheetRelations>
        <RadStylesheetRelation ElementType="Telerik.WinControls.RootRadElement" RegistrationType="ElementTypeControlType" ElementName="" ControlName="" ControlType="Telerik.WinControls.UI.RadLabel" />
      </StylesheetRelations>
      <BuilderData xsi:type="XmlStyleSheet">
        <PropertySettingGroups>
          <XmlPropertySettingGroup>
            <PropertySettings>
              <XmlPropertySetting Property="Telerik.WinControls.VisualElement.Font" Value="Arial, 9pt, style=Bold" />
              <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="ActiveCaption" />
            </PropertySettings>
            <Selectors>
              <XmlTypeSelector ElementType="Telerik.WinControls.UI.RadLabel+RadLabelRootElement" />
            </Selectors>
          </XmlPropertySettingGroup>
          <XmlPropertySettingGroup>
            <PropertySettings />
            <Selectors>
              <XmlTypeSelector ElementType="Telerik.WinControls.UI.RadLabelElement" />
            </Selectors>
          </XmlPropertySettingGroup>
        </PropertySettingGroups>
      </BuilderData>
    </XmlStyleBuilderRegistration>
  </BuilderRegistrations>
</XmlTheme>

When I selected my customized theme for the label, it defaulted back to the original setting. Please advise
Nick
Telerik team
 answered on 23 Nov 2009
3 answers
88 views
If your ComboBox column does not display values until you edit one of the values, check to make sure you populated the DataSource of the ComboBox before populating the DataSource of the Grid.
// BAD 
gridBindingSource.DataSource = _Repository.GetGridData(); 
comboBindingSource.DataSource = _Repository.GetComboData(); 
 
// GOOD 
comboBindingSource.DataSource = _Repository.GetComboData(); 
gridBindingSource.DataSource = _Repository.GetGridData(); 
 

Victor
Telerik team
 answered on 23 Nov 2009
7 answers
696 views
We just installed Winforms Q3 2009 and are noticing a problem.

We added a Treeview to a new application and ran the following two lines.

RadTreeView1.Nodes.Add("test")
RadTreeView1.Nodes.Clear()

The problem we are seeing is that after running this, the 'test' node still shows on the screen.
It seems that we are able to delete additional nodes, but that we are not able to delete the last node.
Victor
Telerik team
 answered on 23 Nov 2009
11 answers
821 views
.Net's DataGridView allows the Ctrl-Home / Ctrl-End keys to go to the top - left Cell / bottom - right Cell in the grid.  In RadGridView, those keys do the same as the Home / End keys which go to the first / last Cell of the Slected Row.  I couldn't find any combo of Home, End, Page Up, Page Down, Up, Down, Left or Right with the Shift, Ctrl or Alt modifiiers that would go to the top / bottom of the grid.  Are there top  / bottom of grid keys predefined?  Is there a way to override the standard navigation keys?

Telerik Q1 2009 (v2009.1.9.414), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.

Jack
Telerik team
 answered on 23 Nov 2009
8 answers
148 views
When editing the filter value on a Date column:

1. It cuts off the left part of the date regardless of how wide I make the Column.

2. It always requires editing in a "ToLongDateString" fromat (aka "D", aka "dddd, MMMM dd, yyyy") vs. (oh, I don't know, call me crazy, but maybe perhaps) the format specified by the user in your  "FormatString" Property of your "GridViewDataColumn" Class.  ;) This is: a) non-intuitive as it may not (and probably usually does not) match the format used in the data columns since the "D" format is rarely used especially in tables where horizontal space is at a premium, b) may be (and probably usually will be) too wide to fit in the Column (even if #1 is fixed) even when the Column is wide enough to fit the Data Row values which are probably usually in a much shorter format like "MM/dd/yy" or "MM/dd/yyyy" (at least for us weirdos in B.F.E. USA ;) anyway).

Telerik WinForms 2009Q3 Beta (2009.2.9.1016) / 2009Q2 (2009.2.9.729), VB, VS 2005 (v8.0.50727.762 SP.050727-7600), .Net 2.0 (2.0.50727), XP SP3, 3GB, 2.99GHZ, Core2Duo.

Jack
Telerik team
 answered on 23 Nov 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
ProgressBar
CheckedDropDownList
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
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?