Telerik Forums
UI for WinForms Forum
3 answers
126 views
Hi team,

In my application i am using docking and many rad Controls.


When closing the the form from close button.Crash has been observed.
please find the description below.And let us know the Issue please.

ee 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.PropertySettingCollection.<EnumeratePropertySettingsForElement>d__10.MoveNext()
   at Telerik.WinControls.Styles.StylesheetTreeNode.ApplyGroupSettingsOnElement(PropertySettingGroup group, RadElement element)
   at Telerik.WinControls.Styles.StylesheetTreeNode.ApplyPropertySettingsOnAttachedElement(RadElement element, Boolean onPropertyChanged)
   at Telerik.WinControls.Styles.StylesheetTreeNode.AttachElement(RadElement element)
   at Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(StylesheetTreeNode node, RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(StylesheetTreeNode node, RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElement(RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElementHierarchy(MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.AttachElement(RadElement addedElement)
   at Telerik.WinControls.Styles.StylesheetTree.OnElementSelectorKeyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleMap.OnElementStyleSelectorKeyPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleManager.ElementStyleSelectorKeyPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleManager.Telerik.WinControls.IPropertyChangeListener.OnRadPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.ComponentThemableElementTree.NotifyElementPropertyChanged(RadElement element, RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.UI.RadTitleBarElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadObject.SetValue(RadProperty property, Object value)
   at Telerik.WinControls.Styles.ItemStateManagerBase.SetItemState(RadItem item, String[] stateNames)
   at Telerik.WinControls.Styles.ItemStateManager.StateInvalidated(RadItem item, StateNodeBase elementStateBase)
   at Telerik.WinControls.Styles.ItemStateManager.ItemStateChanged(RadItem senderItem, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StateManagerAttachmentData.attachedElement_RadPropertyChanged(Object sender, RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.UI.RadTitleBarElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.ResetValueCore(RadPropertyValue propVal, ValueResetFlags flags)
   at Telerik.WinControls.RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.NotifyChildren(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.NotifyChildren(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadObject.SetDefaultValueOverride(RadProperty property, Object value)
   at Telerik.WinControls.UI.RadFormElement.SetIsFormActiveInternal(Boolean isActive)
   at Telerik.WinControls.UI.RadFormBehavior.OnWMActivate(Message& m)
   at Telerik.WinControls.UI.RadFormBehavior.HandleWndProc(Message& m)
   at Telerik.WinControls.UI.RadFormControlBase.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 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
----------------------------------------
Operation Tool
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Operation%20Tool.exe
----------------------------------------
Helper
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Helper.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
    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
----------------------------------------
Telerik.WinControls.UI
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.UI/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.UI.dll
----------------------------------------
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
----------------------------------------
Telerik.WinControls
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.dll
----------------------------------------
Localization
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Localization.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.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
----------------------------------------
TelerikCommon
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/TelerikCommon/2010.1.10.504__5bb2a467cbec794e/TelerikCommon.dll
----------------------------------------
ayog2ef8
    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
----------------------------------------
Localization.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/en-US/Localization.resources.DLL
----------------------------------------
BMSFramework
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/BMSFramework.DLL
----------------------------------------
Wiresheet
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Wiresheet.DLL
----------------------------------------
GraphicControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/GraphicControl.DLL
----------------------------------------
BMSCommonClasses
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/BMSCommonClasses.DLL
----------------------------------------
ControlPointCtl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ControlPointCtl.DLL
----------------------------------------
DotNetTracer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/DotNetTracer.DLL
----------------------------------------
Telerik.WinControls.RadDock
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.RadDock/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.RadDock.dll
----------------------------------------
Alarm
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Alarm.DLL
----------------------------------------
History
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/History.DLL
----------------------------------------
SystemDefinition
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/SystemDefinition.DLL
----------------------------------------
Report
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Report.DLL
----------------------------------------
UserManagement
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/UserManagement.DLL
----------------------------------------
ApplicationConfiguration
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationConfiguration.DLL
----------------------------------------
Schedule
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Schedule.DLL
----------------------------------------
ApplicationDataHandler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationDataHandler.DLL
----------------------------------------
WinUtil
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/WinUtil.DLL
----------------------------------------
EventManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/EventManager.DLL
----------------------------------------
GraphicsEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/GraphicsEditor.DLL
----------------------------------------
ApplicationClasses
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationClasses.DLL
----------------------------------------
ControlTracker
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ControlTracker.DLL
----------------------------------------
Telerik.WinControls.GridView
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.GridView/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.GridView.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.

Jack
Telerik team
 answered on 09 Mar 2011
3 answers
125 views
Hi

How can I get the rows filtered by applying a filter to the grid?
I'm trying with GridViewRowInfo.IsVisible, but it is always set to true....

Thanks in advance
Simone
Richard Slade
Top achievements
Rank 2
 answered on 09 Mar 2011
3 answers
140 views
hi,

   I loaded 10 thousand records on the multicolumn combo. Its load well. When am clik the arrow button for select a record i didn't response. (i mean dropdown grid didnot show).
The same thing is work in fine only bellow 300 records.why?

help me.
Richard Slade
Top achievements
Rank 2
 answered on 09 Mar 2011
5 answers
114 views

Hello,


I am working with a hierarchical GridView and I'd like to recover the information displayed on the child part I just clicked on (where there is a "+" sign).

So how can I access the informations displayed on this child part when entering the following function :

 

 

private

 

 

void OnGridViewMyChildViewExpanding(object sender, ChildViewExpandingEventArgs childViewExpandingEventArgs)  ?

I tried several tricks with the sender and the childViewExpandingEventArgs  objects, but with no results until now.

Thank you.

 

Richard Slade
Top achievements
Rank 2
 answered on 09 Mar 2011
1 answer
133 views
Hello guys,

My question is simple: In pie chart, how can I put the correct legend for each piece of chart? For example:
DataTable:
Sex        NumPeople
Man       25
Female  30

The image chart is correct, but in legend just shows "Series1". The correct form for legend is:

Legend
<Color of chart's pice> Man
<Color of chart's pice> Female

How can I do this???

thank's
Vladimir Milev
Telerik team
 answered on 09 Mar 2011
1 answer
146 views
I added a RadMarkupDialog control to my form and made desired changes to the properties, such as removing the MarkUp commandbar group and changing the Application menu icon.  However, when I display it in code, none of my changes are visualized.

I have checked the Properties window and it still shows all my changes.  I can make the changes in code and it displays correctly.

So, does the control not currently support design-time customizations?
Stefan
Telerik team
 answered on 09 Mar 2011
10 answers
163 views
I have a grid where I can multiselect rows.
When I select several rows

radGridView1.MasterGridViewTemplate.SelectedRows.Count shows the correct number of selected rows. But if grid is sorted sometemes it shows the correct number, sometimes 1, sometimes 0. I chet in event on context menu click. So sometimes menu  works on correct rows, sometime on one of seleted, sometimes does nothing
Thank you

Lily.

Svett
Telerik team
 answered on 09 Mar 2011
0 answers
92 views
Hi Guys,

I am facing a problem and I am pulling my hair at the moment. I hope someone can help me out there. I want to use images for my button like web applications. I have two images with transparent BGs, one for the default state and one for the mouse over state. The problem is I can't seem to figure out how to implement this using VSB. Kindly tell me in detail as I am novice. I want to disable all the fills, borders, highlight colors etc. except for the two images on each state.

Furthermore if I create one such button, will I need to create separate skins for all such buttons. If yes then isn't it annoying :)

Thanks,
Afraz
Afraz Ali
Top achievements
Rank 1
 asked on 09 Mar 2011
5 answers
166 views

Hi,

I am facing a strange problem. Can you please help about it?

Scenario
Actually, On my RadForm, I am opening another RAdForm. This second form has a RAdGridView. Whenever user closes this second form, it is programmmatically hided but not closed. The grid on the second form has just one row in which user can enter values.

Problem:
User opens the second form and enter some values in the grid and then closes the form(Acually hiding). Then user again open that second form, the value that user eneterd are still there. That is correct. I want so. But the problem is user can not now change the values in the grid. Somehow CellValueChanged event is not calling. And if it calls once then second time it is not calling. Why is it so?

Sorry for my bad english. Any help would be appreciated.

Thanks

Stefan
Telerik team
 answered on 09 Mar 2011
2 answers
170 views

Hi all

 

I want to know how to bind the data in RadGridview

 

What exactly I mean how to translate this code to RadGridview

GridView1.Databind()

Thanks in advance


Richard Slade
Top achievements
Rank 2
 answered on 08 Mar 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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?