Telerik Forums
UI for WinForms Forum
11 answers
1.0K+ views

I have a radgridview that is databound to a llblgen entity collection (implements IListSource) . One property of the actual databound object (entity) is a nulalble int. This property is set by a GridViewComboBoxColumn. When a new entity is added to the llblgen entity collection after the llblgen entity collection is databound to the radgridview the new row is automatically added to the radgridview but when the user changes the nullable property a NullReferenceException occurs:

       bij Telerik.WinControls.UI.GridDataCellElement.SetContentCore(Object value)
       bij Telerik.WinControls.UI.GridDataCellElement.SetContent()
       bij Telerik.WinControls.UI.GridTableElement.InvalidateRow(GridViewRowInfo rowInfo)
       bij Telerik.WinControls.UI.GridViewRowInfo.InvalidateRow()
      bij Telerik.WinControls.UI.RadGridView.OnLostFocus(EventArgs e)
       bij System.Windows.Forms.Control.WndProc(Message& m)
       bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bij Telerik.WinControls.RadControl.WndProc(Message& m)
       bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       bij System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(HandleRef hWnd)
       bij System.Windows.Forms.UnsafeNativeMethods.DestroyWindow(HandleRef hWnd)
       bij System.Windows.Forms.NativeWindow.DestroyHandle()
       bij System.Windows.Forms.Control.DestroyHandle()
       bij System.Windows.Forms.Control.Dispose(Boolean disposing)
       bij System.Windows.Forms.Form.Dispose(Boolean disposing)
       bij Bouwfonds.GEMS.GUI.WF.uiHoofdFrm.Dispose(Boolean disposing)
       bij System.ComponentModel.Component.Dispose()
       bij System.Windows.Forms.ApplicationContext.Dispose(Boolean disposing)
       bij System.Windows.Forms.Application.ThreadContext.DisposeThreadWindows()

Any idea’s?

Many tanx in advance!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Feb 2016
1 answer
95 views

Good day all

 

I just started playing around with the GantView in an existing Winforms application.

In general All seems to be working nicely, but I have 1 serious issue I cannot seem to get around.

 

On the context menu, when I am over a link, and select delete, It deletes the Parent/Child/sibling item. I have checked the forums and googled it , but can not find a way so far to simply just delete the link, and not any items.

 

Any links/samples/advice on how this can be achieved would be appreciated.

 

Regards

 

Marius

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Feb 2016
2 answers
140 views

Hello 

I would like to remove the top and bottom border of each ribbon group at run time for a cleaner look. Have tried this in the form constructor with no success. Any ideas?

Dim myRibbonBarTab As RibbonTab = CType(Me.RadRibbonBar1.CommandTabs(0), RibbonTab)

For Each group As RadRibbonBarGroup In myRibbonBarTab.Items
        group.GroupBorder.BoxStyle = BorderBoxStyle.FourBorders
        group.GroupBorder.TopWidth = 0
        group.GroupBorder.BottomWidth = 0
Next

 

Thanks for any tips that point me in the right direction.

Robert

 

 

 

Robert
Top achievements
Rank 1
Iron
 answered on 11 Feb 2016
1 answer
100 views

Hi,

I am looking to update our grids to have the "expanded information" details panel available for rows in a grid similar to the example you have at http://www.telerik.com/help/winforms/gridview-overview.html but I am struggling to find the sample code or documentation for achieving this.

Currently we have flat and hierarchical grids with master/detail records and we use standard table layout for parent and child rows everywhere and we are looking to have the "more info" look for the rows as shown in the sample.

Technically this isn't a master/detail relationship and is more like "further info" for the parent row, but if you could give me some pointers to the sample code/documentation on how to achieve this look and feel that would great.

Many thanks

 Mark.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Feb 2016
1 answer
172 views

Is nit possible to nest a listview within another listview using custom items?

 

Thanks

Dimitar
Telerik team
 answered on 10 Feb 2016
5 answers
101 views

Hi guys,

I'm hoping someone can lend me a hand in regards to the currentTimePointer functionality on the RadCalendar control.

The pointer only highlights the current day's current time, while I would like the line to extend across the whole week.

Basically, I'm trying to mimic Outlook when it comes to highlighting the current time.

The only accessible properties for the currentTimePointer are the Color and Width, so before I start diving in too deep, is there a fairly easy way to achieve the full length timePointer that I'm looking for?

Thanks,

Robert

Dimitar
Telerik team
 answered on 10 Feb 2016
1 answer
73 views

is there anyway to remove these labels from filtering row?

 attached a picture for reference

Ryan
Top achievements
Rank 1
 answered on 09 Feb 2016
2 answers
124 views
Is there any method to disable headercellbuttons, but still use filtering row with filters like 'contains'.Cause columns have more then 50 k distinct values, and accidentally clicked cellbutton will load too much data and will freeze app for a while. So user can use this filters for columns .
accidentally
accidentally
Ralitsa
Telerik team
 answered on 09 Feb 2016
4 answers
165 views

How do I get the width of the AppointmentElement in the AppointmentFormatting Event?

e.AppointmentElement.Size returns nothing

e.AppointmentElement.Bounds returns 0,0,0,0

I am trying to place an image at a specific time point within the appointment element.

Is there an easier way to accomplish this?

Thanks,

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Feb 2016
1 answer
162 views

Hi,

 I have a richtexteditor and I am programmatically converting a selection to a bulletedlist on button click with

 

RadTextEditor.ChangeListStyle ( ...)

 

This is fine, except I need this to act as a "toggle" in the same way as the normal bullet buttons do using with the built in menu, Word, etc.

I can't find a way to determine whether a selection is already a list, so is this possible?

 

Thanks,

 

Mark

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Feb 2016
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
CheckedDropDownList
ProgressBar
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
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?