Telerik Forums
UI for WinForms Forum
2 answers
120 views
Can the grid autogenerate GridViewColumnGroup's based on a property on the items in the datasource?  This would be similar in how columns can autogenerate.
Jason Parrish
Top achievements
Rank 1
 answered on 07 Oct 2011
2 answers
73 views
I'm displaying a bar series and a line series on a same chart, see picture pbChart1bar.png. There are two items with the same X values.

If I add a second bar series, with the same values as the first one, the items are not aligned anymore, see picture pbChart2bars.png.
What could be the problem?
jc mag
Top achievements
Rank 1
 answered on 07 Oct 2011
2 answers
502 views
I am creating an application in which I use radPageView. I have setted up AutoScroll to True but in design time I cannot scroll down to see al the controls that I have inserted.
can you please help me?
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 06 Oct 2011
3 answers
104 views

Hello Telerik Team,

I Have an issue regarding the filter of the grid on readOnly columns.

When the user goes between the filter cells with the Tab key or the Arrow keys the curser skips the readOnly columns.

How can this behavior be fixed?

                                                               

Regards,

Namma.

Ivan Petrov
Telerik team
 answered on 06 Oct 2011
3 answers
202 views
Is there a way to programmatically set the focus to the first cell in a child add new row? 
Julian Benkov
Telerik team
 answered on 06 Oct 2011
1 answer
148 views
Hi,

Is it possible to reset the dock settings as set in the vs designer, in case the user messed up the lay-out?
In an MDI scenario, I would like to reset the open childforms. Currently dock settings are stored in the registery (as xml)
Removing the setting does open the form in 'factory settings' (vs designer lay-out) when the form is re-opened, but I'de like to visually reset the form without losing it's current bound data...

Or is the only solution to close the mdi-child I'de like to reset?

Kind regards,
Alex
Emanuel Varga
Top achievements
Rank 1
 answered on 06 Oct 2011
2 answers
202 views
We recently changed all of our DateTime fields to DateTimeOffset. Now when we display one of the dates in a GridView, we get:

{"Converter can't convert"}

Is there something else we have to do to support DateTimeOffset in the grid?

Here is the detailed exception:

System.FormatException was unhandled
  Message=Converter can't convert
  Source=Telerik.WinControls.GridView
  StackTrace:
       at Telerik.WinControls.UI.RadDataConverter.ThrowFormatException(Exception ex, String message)
       at Telerik.WinControls.UI.RadDataConverter.ThrowFormatException(Exception ex)
       at Telerik.WinControls.UI.RadDataConverter.Format(Object value, Type targetType, Boolean coerceNullValue, IDataConversionInfoProvider converstionInfoProvider)
       at Telerik.WinControls.UI.GridDataCellElement.ApplyFormatString(Object value)
       at Telerik.WinControls.UI.GridDateTimeCellElement.ApplyFormatString(Object value)
       at Telerik.WinControls.UI.GridCellElement.SetContentCore(Object value)
       at Telerik.WinControls.UI.GridDataCellElement.SetContent()
       at Telerik.WinControls.UI.GridRowElement.UpdateContent()
       at Telerik.WinControls.UI.GridTableElement.UpdateCellContent(GridViewRowInfo rowInfo)
       at Telerik.WinControls.UI.GridTableElement.UpdateWhenItemChanged(DataViewChangedEventArgs args)
       at Telerik.WinControls.UI.GridTableElement.UpdateViewCore(Object sender, DataViewChangedEventArgs args)
       at Telerik.WinControls.UI.GridTableElement.UpdateView(Object sender, DataViewChangedEventArgs args)
       at Telerik.WinControls.UI.GridTableElement.ProcessTemplateEvent(GridViewEvent eventData)
       at Telerik.WinControls.UI.GridTableElement.Telerik.WinControls.UI.IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
       at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(GridViewEvent gridEvent, PriorityWeakReferenceList list, GridEventProcessMode processMode)
       at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessEvent(GridViewEvent gridEvent)
       at Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(GridViewEvent gridEvent)
       at Telerik.WinControls.UI.GridViewSynchronizationService.FlushEvents()
       at Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(GridViewEvent gridEvent)
       at Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(GridViewTemplate template, GridViewEvent eventData, Boolean postUI)
       at Telerik.WinControls.UI.GridViewTemplate.DispatchEvent(GridViewEvent gridEvent, Boolean postUI)
       at Telerik.WinControls.UI.GridViewTemplate.DispatchDataViewChangedEvent(Object sender, DataViewChangedEventArgs args)
       at Telerik.WinControls.UI.GridViewTemplate.OnViewChanged(Object sender, DataViewChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewTemplate.CollectionView_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.RadCollectionView`1.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       at Telerik.WinControls.Data.RadDataView`1.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
       at Telerik.WinControls.Data.RadCollectionView`1.source_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.RadListSource`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.RadListSource`1.ChangeItem(Int32 index, TDataItem item, String propertyName)
       at Telerik.WinControls.Data.RadListSource`1.currencyManager_ListChanged(Object sender, ListChangedEventArgs e)
       at System.Windows.Forms.CurrencyManager.OnListChanged(ListChangedEventArgs e)
       at System.Windows.Forms.CurrencyManager.List_ListChanged(Object sender, ListChangedEventArgs e)
       at System.Windows.Forms.BindingSource.OnListChanged(ListChangedEventArgs e)
       at System.Windows.Forms.BindingSource.ListItem_PropertyChanged(Object sender, EventArgs e)
       at System.ComponentModel.PropertyDescriptor.OnValueChanged(Object component, EventArgs e)
       at System.ComponentModel.ReflectPropertyDescriptor.OnValueChanged(Object component, EventArgs e)
       at System.ComponentModel.ReflectPropertyDescriptor.OnINotifyPropertyChanged(Object component, PropertyChangedEventArgs e)
       at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
       at SCStar.BL.BOBase.NotifyPropertyChanged(String propertyName) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.BL\BoBase.vb:line 356
       at SCStar.BL.BOBase.SetEntityState(Nullable`1 newEntityState, String propertyName) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.BL\BoBase.vb:line 731
       at SCStar.BL.OnSite.AgreementDiscount.set_DiscountBeginDate(Nullable`1 value) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.BL\Site\AgreementDiscount.vb:line 183
       at SCStar.BL.OnSite.AgreementDiscounts.SetDiscountData(Agreement currentAgreementInstance, DateTimeOffset CurrentSiteDateTimeWithOffset, Nullable`1 isMoveIn) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.BL\Site\AgreementDiscounts.vb:line 430
       at SCStar.PaymentDiscountWin.SetDiscountData(AgreementDiscount updatedAgreementDiscountInstance) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.Win\PaymentDiscountWin.vb:line 476
       at SCStar.PaymentDiscountWin.PaymentDiscountGridView_CellEndEdit(Object sender, GridViewCellEventArgs e) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.Win\PaymentDiscountWin.vb:line 161
       at Telerik.WinControls.UI.RadGridView.OnCellEndEdit(Object sender, GridViewCellEventArgs e)
       at Telerik.WinControls.UI.EventDispatcher.RaiseEvent[T](Object eventKey, Object sender, T args)
       at Telerik.WinControls.UI.GridViewEditManager.EndEditCore(Boolean validate, Boolean cancel)
       at Telerik.WinControls.UI.GridViewEditManager.EndEdit()
       at Telerik.WinControls.UI.GridRowBehavior.ValidateOnUserInput(MouseEventArgs e)
       at Telerik.WinControls.UI.GridRowBehavior.OnMouseDown(MouseEventArgs e)
       at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
       at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
       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(IntPtr 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.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at SCStar.UIController.DisplayDiscountDialog() in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.Win\UIController.vb:line 1483
       at SCStar.PaymentControl.EditDiscounts() in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.Win\PaymentControl.vb:line 1257
       at SCStar.PaymentControl.DiscountButton_Click(Object sender, EventArgs e) in C:\Users\Deb\Clients\SpaceControl\SCStar\SCStarApplication\SCStar.Win\PaymentControl.vb:line 294
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at Telerik.WinControls.RadControl.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadButtonBase.ButtonElement_Click(Object sender, EventArgs e)
       at Telerik.WinControls.RadItem.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
       at Telerik.WinControls.RadItem.DoClick(EventArgs e)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
       at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       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(IntPtr 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 Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at SCStar.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
       at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
       at System.Activator.CreateInstance(ActivationContext activationContext)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
Peter
Telerik team
 answered on 06 Oct 2011
2 answers
198 views
Hello,
I have a grid with a GridViewTextBoxColumn.  When this cell goes into edit mode, I would like to have a button that the user can click to launch a modal dialog form.  On this form the user can edit the data of selected cell like on the Teleriks Expression Editor form.

Any help is greatly appreciated.

Thanks,
Sz

Szotyi
Top achievements
Rank 1
 answered on 06 Oct 2011
4 answers
157 views
Hey at Telerik

I have found a bug in the RadDateTimePicker.
When the control is continuously enabled/disabled the Text element of the control stops showing the date.

I need this functionality to rebind a RadDateTimePicker to a SelectionChanged event on a RadGrid.

I have reproduced the bug in a little test project (Of cource without references). http://kort2.lifa.dk/examples/RadDateTimePickerMissingDateText.rar

Try and disable/enable the RadDateTimePicker numerous times, after fourth click the Text control element of the RadDateTimePicker stops working.

Sincerly Jan.
Peter
Telerik team
 answered on 06 Oct 2011
5 answers
145 views
hello,
i have a DropDwonColumn in my Grid i want to bind a specific cell in that column not all cells in the column.
is that possible?
Alexander
Telerik team
 answered on 05 Oct 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?