Telerik Forums
UI for WinForms Forum
1 answer
171 views
I posted this last week and it seems it dissappeared for some reason.

So I have a GridView for Winforms control on a form that refreshes the dataset every 3 minutes.  Randomly during the day my users are reporting that the entire GridView control turns white and there is a red X in the control.  This is the entire GridView control's canvas.  Very wierd.  This is the error that the user's receive:

(There is a checkbox column in the Master template, this is not a hierarchical dataset.  It is flat.)

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.WinControls.UI.GridRowElement.SetSelectedState(Boolean showSelection)

   at Telerik.WinControls.UI.RadGridView.OnEnter(EventArgs e)

   at System.Windows.Forms.Control.NotifyEnter()

   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

OpenOrderQueue

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/OpenOrderQueue.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Web.Services

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

bd1mghel

    Assembly Version: 1.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Telerik.WinControls.GridView

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.GridView.DLL

----------------------------------------

Telerik.WinControls.UI

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.UI.DLL

----------------------------------------

Telerik.WinControls

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.DLL

----------------------------------------

System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

----------------------------------------

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Drawing.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll

----------------------------------------

TelerikCommon

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/TelerikCommon.DLL

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
86 views
Do you know how can I display listbox items horizontally?
Nick
Telerik team
 answered on 21 Oct 2008
4 answers
168 views
Is it possible to create the x-axis labels from a date column in my dataset? I have a date set where I want to return a series of dates, and some associated values, i.e.a structure such as;

Selecteddate (date)
Somevalue1 (int)
Somevalue2 (int)

What I'd like to show is the series of dates along the x-axis, and my values plotted above those. Although I can sort them, I won't know how many value sets (rows) I will have in advance, or if the dates are evenly spaced (i.e. there might be gaps in dates).

Is this possible? Thanks in advance for any assistance.
Dwight
Telerik team
 answered on 21 Oct 2008
3 answers
127 views
Hello,

I am using the trial version for evaluation purpose. I clicked on the smart tag in a rad grid view and used the theme builder to change gridGroupExpandercellelement's SignStyle property to PlusMinus. And i saved the theme in a new xml and i gave the theme a name. Then dragged a radthememanager and loaded my newly created theme and in the smart tag of the gridview i loaded my theme. But some the expander still shows the arrow sign rather than the plus sign that i wanted. Any help would be greatly appreciated.
HAri
Top achievements
Rank 1
 answered on 21 Oct 2008
9 answers
89 views
Hello there!

Maybe my question is a basic one or not, but I would like to know if it is anyway possible to have the Calendar control to act similarly to the Scheduler ASP.NET Ajax control.

Here we would very much like that kind of functionality in our application, but it seems that the Calendar simply doesn't cut it.

Do we have to program the features needed or is there anyway we may customize it to do this?

Many thanks!
Vassil Petev
Telerik team
 answered on 20 Oct 2008
6 answers
196 views
Hi,

i am getting warning while accessing RadTreeNode's Parent and Index property that it is obsolete.

Can i have some replacement for this so those warning be removed ?

Thanks
Nikolay
Telerik team
 answered on 20 Oct 2008
2 answers
118 views
We are using the dock manager in a new application and have some concerns with performance due to the code being run multiple times in the Activated event of the UserDockForm.   We have looked through the forums and documentation to  get a better understanding what triggers the "Activated" event, but are not having much luck.  

Below is the code being used to create the dock form, and the activated event code.  Any help on why this event is fired 3 tiems would be greatly appreciated, and if we should be using a different event let us know.

    Private Function CreateDockedDoc(ByVal caption As String, ByVal size As System.Drawing.Size, ByVal formName As String) As UserDockForm  
 
        Dim myform As Form = CType(Me.GetType.Assembly.CreateInstance(formName, True), Form)  
 
        myform.MdiParent = Me 
 
        Dim dockDocument As UserDockForm = CType(myform, UserDockForm)  
        dockDocument.Text = caption 
        TryCast(DockingManager1.PrimarySite, DockSite).SetDocument(dockDocument)  
        dockDocument.CloseButtonVisible = False 
 
        Return dockDocument  
 
    End Function  
 
 
    Private Sub frmSystemCodePayPeriodSetup_Activated(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Activated  
 
        System.Console.WriteLine("Form activated ........")  
    End Sub  
   
 
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Oct 2008
4 answers
192 views
Hi,

I am in the process of analysing as to which third party control might suit my company. I have a few questions. It would be great if i can find some help.

1.)Does Radcontrols for Winforms .NET 3.5 compiled?
2.)Does the rad grid view support hosting smart parts? We are planning to host a smart part(CAB-SCSF) in child relation within a master detail hierarchical grid view.

HAri
Top achievements
Rank 1
 answered on 20 Oct 2008
3 answers
154 views
Hi I am currently in the process of evaluating RadControls for winforms. I had a question regarding the MDI. I am asked to develop an application, where the user can have mabe a column on the left, and is able to drag those windows onto the main screen for the preferred layout and size. So basically what i am trying to do is enable docking in the left column, as well as the right side display of the screen seperately using DockPanels. As right now, once the form loads, the docking can be set either for just the column, or stretched to the entire form. How could I achieve the desired effect? thanks in advance, any help would be appreciated.
Julian Benkov
Telerik team
 answered on 20 Oct 2008
2 answers
107 views
Perhaps is a very stupid thing and with a single property I can solve this problem, anyway I don't find that property!!! I want to have the possibility to make the text of the radcomboboxItem readonly in that way the user can choose the item but can't change the text of the Item.
Is that possible?
Thanks in advance


Gianluca
Gianluca Mariani
Top achievements
Rank 2
 answered on 17 Oct 2008
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
+? 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?