Yesterday I installed Q3 2012 over Framework 4.0 Visual Studio 2010. When I try to place a DateTimePicker in a Form VS gives me an error message (see attachment).
My machine runs Windows 7, 32 bits. Any ideas?
Best regards.
7 Answers, 1 is accepted
Win7, Studion2010 english, .net 4.0, VB
whats interesting,
after downloading source, and rebuilding it locally
uninstalling telerik winforms components,
and referencing those which were rebuilt by me, i can add control ...
but its a bit not proper way ?
and also, if control already exists on form, i can build, but have an error during runtime mode :
System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=Telerik.WinControls.UI
StackTrace:
at Telerik.WinControls.UI.RadDateTimePickerElement.SetBehavior(RadDateTimePickerBehaviorDirector childrenDirector)
at Telerik.WinControls.UI.RadDateTimePickerElement.CreateChildElements()
at Telerik.WinControls.RadElement.CallCreateChildElements()
at Telerik.WinControls.RadElement.Construct()
at Telerik.WinControls.RadElement..ctor()
at Telerik.WinControls.RadItem..ctor()
at Telerik.WinControls.UI.RadDateTimePickerElement..ctor()
at Telerik.WinControls.UI.RadDateTimePicker.CreateChildItems(RadElement parent)
at Telerik.WinControls.RadControl.Telerik.WinControls.IComponentTreeHandler.CreateChildItems(RadElement parent)
at Telerik.WinControls.RadElementTree.InitializeRootElement()
at Telerik.WinControls.RadControl.Construct()
at Telerik.WinControls.RadControl..ctor()
at Telerik.WinControls.UI.RadDateTimePicker..ctor()
at Enforcement_Final.FrmRoadsideChecksVI.InitializeComponent() in C:\work\Enforcement_Final\frmRoadsideChecksVI.Designer.vb:line 74
at Enforcement_Final.FrmRoadsideChecksVI..ctor()
at Enforcement_Final.Main.openForm(Int32 formnanme, RadDock& RadDock1, String regno_value, String customer_value, Form parentForm, Boolean closeparentfrom) in C:\work\Enforcement_Final\Modules\Module1.vb:line 85
at Enforcement_Final.frmMain.CommandBarButton7_Click(Object sender, EventArgs e) in C:\work\Enforcement_Final\frmMain.vb:line 38
at Telerik.WinControls.RadItem.OnClick(EventArgs e)
at Telerik.WinControls.UI.RadCommandBarBaseItem.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 Enforcement_Final.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.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
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()
Doug
Thank you for writing.
We are aware of this issue and I am glad to inform you that it is already addressed in a silent and an internal build. You can either use the internal build, or to uninstall the current version from your computer, download the installer once again (the silent build) and reinstall the suite with it.
To download the installer:
- Login to your Account
- Click Manage products > DefCraft [version]
- Click the Download installer and other resources button on the right
- Click the Browse all files link in the RadControls for WinForms pane
- Click the Automatic installation link
Please excuse us for the introduced inconvenience. Let me know if you continue experiencing the issue afterwards.
Greetings,
Stefan
the Telerik team
We have tried the solution mentioned above but did not work , any alternative to fix this issue ?
The crash discussed in this thread is addressed in the internal build mentioned above.
If it does not work for you please open a new support ticket with your project and detailed description of the steps that we need to take to reproduce the error and we will investigate what causes it and will address it if needed.
Thank you in advance for your time and cooperation.
Kind regards,
Stefan
the Telerik team
Using the internal build solved my problem