Telerik Forums
UI for WinForms Forum
2 answers
329 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
167 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
115 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
296 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
382 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
126 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
772 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
960 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
202 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
4 answers
299 views
Hi

I am adding items to listbox like this (from a background worker thread).

  dim d as New AddDelegate(AddressOf radListBox1.Items.Add)
  dim item as New RadListBoxItem
  item.Text = "some text"
  dim args() as Object = {item}
  radListBox1.Invoke(d, args)

However I sometimes get an error after some items are added (I think it
is also if an item is selected in the listbox and if I change hide and show the form). This is thrown on the main form. If tried using the BeginUpdate and EndUpdate method as well, but that doesn't seem to make a difference.

This is the message
    "Parameter is not valid."

Here is the stack trace

   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawBitmap(Image image, Int32 x, Int32 y, Double opacity)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawBitmap(Image image, Int32 x, Int32 y)
   at Telerik.WinControls.Primitives.FillElementPaintBuffer.ResetGraphics(IGraphics g, SizeF scale)
   at Telerik.WinControls.Primitives.FillPrimitive.PaintPrimitive(IGraphics g, Single angle, SizeF scale)
   at Telerik.WinControls.Primitives.BasePrimitive.PaintElement(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.PaintElement(Graphics rawGraphics, IGraphics graphics, Single angle, SizeF scale, Region currentClip)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RootRadElement.Paint(IGraphics graphics, Rectangle clipRectangle)
   at Telerik.WinControls.RadControl.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   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 Dcsa.WpAdmin2.UI.Startup.Main() in C:\_SourceCode\DCX (SA) Workplace\Workplace.Windows\Workplace.Admin.UI\Startup.vb:line 7
   at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Victor
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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?