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!
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
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
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.
Is nit possible to nest a listview within another listview using custom items?
Thanks
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
is there anyway to remove these labels from filtering row?
attached a picture for reference
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,
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