Approved
Last Updated: 23 Oct 2019 11:16 by ADMIN
01.Exception
02. 
03.System.NullReferenceException: 'Object reference not set to an instance of an object.'
04. 
05.Stack trace.
06. 
07."   at MediaFoundation.Misc.BitmapInfoHeader.CopyFrom(BitmapInfoHeader bmi)"
08. 
09.CallStack
10. 
11.     MediaFoundation.dll!MediaFoundation.Misc.BitmapInfoHeader.CopyFrom(MediaFoundation.Misc.BitmapInfoHeader bmi)    Unknown
12.     MediaFoundation.dll!MediaFoundation.Misc.BMMarshaler.MarshalNativeToManaged(System.IntPtr pNativeData)    Unknown
13.     [Native to Managed Transition]   
14.     [Managed to Native Transition]   
15.     Telerik.Windows.MediaFoundation.dll!Telerik.Windows.MediaFoundation.WebCamPresenter.TakeSnapshot()    Unknown
16.     Telerik.WinControls.RadWebCam.dll!Telerik.WinControls.UI.RadWebCam.TakeSnapshot()    Unknown
17.     Telerik.WinControls.RadWebCam.dll!Telerik.WinControls.UI.RadWebCamElement.TakeSnapshot_Click(object sender, System.EventArgs e)    Unknown
18.     Telerik.WinControls.dll!Telerik.WinControls.RadElement.OnClick(System.EventArgs e)    Unknown
19.     Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadButtonItem.OnClick(System.EventArgs e)    Unknown
20.     Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadButtonElement.OnClick(System.EventArgs e)    Unknown
21.     Telerik.WinControls.dll!Telerik.WinControls.RadElement.DoClick(System.EventArgs e)    Unknown
22.     Telerik.WinControls.dll!Telerik.WinControls.RadElement.RaiseBubbleEvent(Telerik.WinControls.RadElement sender, Telerik.WinControls.RoutedEventArgs args)    Unknown
23.     Telerik.WinControls.dll!Telerik.WinControls.RadItem.RaiseBubbleEvent(Telerik.WinControls.RadElement sender, Telerik.WinControls.RoutedEventArgs args)    Unknown
24.     Telerik.WinControls.dll!Telerik.WinControls.RadElement.RaiseRoutedEvent(Telerik.WinControls.RadElement sender, Telerik.WinControls.RoutedEventArgs args)    Unknown
25.     Telerik.WinControls.dll!Telerik.WinControls.RadElement.DoMouseUp(System.Windows.Forms.MouseEventArgs e)    Unknown
26.     Telerik.WinControls.dll!Telerik.WinControls.ComponentInputBehavior.OnMouseUp(System.Windows.Forms.MouseEventArgs e)    Unknown
27.     Telerik.WinControls.dll!Telerik.WinControls.RadControl.OnMouseUp(System.Windows.Forms.MouseEventArgs e)    Unknown
28.     System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks)    Unknown
29.     System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)    Unknown
30.     System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m)    Unknown
31.     Telerik.WinControls.dll!Telerik.WinControls.RadControl.WndProc(ref System.Windows.Forms.Message m)    Unknown
32.     System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)    Unknown
33.     System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)    Unknown
34.     System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)    Unknown
35.     [Native to Managed Transition]   
36.     [Managed to Native Transition]   
37.     System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason, int pvLoopData)    Unknown
38.     System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context)    Unknown
39.     System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context)    Unknown
40.     System.Windows.Forms.dll!System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form form)    Unknown
41.     System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window owner)    Unknown
42.>    pulse.move.factories.dll!pulse.move.factories.views.ViewFactory.ShowWebCam(System.Windows.Forms.Form owner) Line 952    C#

The exception bubbles up to the ViewFactory.ShowWebCam() method, but it doesn't get trapped by that method's try/catch or in your OnWebCamError event.

To reproduce (a bit random)

Im using a logitech HD C270, usb cam

There's often a period of initialization where the cam shows a white or black screen. Sometimes, pressing the control's capture button during this period causes the exception.

I reproduced it in the telerik Quick Start Framework, web cam app. The following code window is the stack trace of when it happened.

I understand that this is within Media Foundation code, and I'm guessing the capture is asynchronous, but is there any way that your control can catch the error as I know my users will be onto the support department when it happens?

Or is there any way to disable your embedded buttons until an image actually appears? I've tried trapping some paint events within the control but failed.

There's also no indication of what's happening during the initialization period, which has taken 10-20 secs occasionally, so it's very tempting to press those buttons :)

001.See the end of this message for details on invoking
002.just-in-time (JIT) debugging instead of this dialog box.
003. 
004.************** Exception Text **************
005.System.NullReferenceException: Object reference not set to an instance of an object.
006.   at MediaFoundation.Misc.BitmapInfoHeader.CopyFrom(BitmapInfoHeader bmi)
007.   at MediaFoundation.Misc.BMMarshaler.MarshalNativeToManaged(IntPtr pNativeData)
008.   at System.StubHelpers.MngdRefCustomMarshaler.ConvertContentsToManaged(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome)
009.   at MediaFoundation.EVR.IMFVideoDisplayControl.GetCurrentImage(BitmapInfoHeader pBih, IntPtr& pDib, Int32& pcbDib, Int64& pTimeStamp)
010.   at Telerik.Windows.MediaFoundation.WebCamPresenter.TakeSnapshot()
011.   at Telerik.WinControls.UI.RadWebCam.TakeSnapshot()
012.   at Telerik.WinControls.UI.RadWebCamElement.TakeSnapshot_Click(Object sender, EventArgs e)
013.   at Telerik.WinControls.RadElement.OnClick(EventArgs e)
014.   at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
015.   at Telerik.WinControls.UI.RadButtonElement.OnClick(EventArgs e)
016.   at Telerik.WinControls.RadElement.DoClick(EventArgs e)
017.   at Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
018.   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
019.   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
020.   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
021.   at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
022.   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
023.   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
024.   at System.Windows.Forms.Control.WndProc(Message& m)
025.   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
026.   at Telerik.WinControls.RadControl.WndProc(Message& m)
027.   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
028.   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
029.   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
030. 
031. 
032.************** Loaded Assemblies **************
033.mscorlib
034.    Assembly Version: 4.0.0.0
035.    Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C
036.    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
037.----------------------------------------
038.TelerikExamples
039.    Assembly Version: 2019.3.917.40
040.    Win32 Version: 2019.3.917.40
041.    CodeBase: file:///C:/Program%20Files%20(x86)/Progress/Telerik%20UI%20for%20WinForms%20R3%202019/Examples/QuickStart/Bin/TelerikExamples.exe
042.----------------------------------------
043.System.Windows.Forms
044.    Assembly Version: 4.0.0.0
045.    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
046.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
047.----------------------------------------
048.System
049.    Assembly Version: 4.0.0.0
050.    Win32 Version: 4.7.3451.0 built by: NET472REL1LAST_C
051.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
052.----------------------------------------
053.System.Drawing
054.    Assembly Version: 4.0.0.0
055.    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
056.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
057.----------------------------------------
058.QuickStart
059.    Assembly Version: 2019.3.917.40
060.    Win32 Version: 2019.3.917.40
061.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/QuickStart/v4.0_2019.3.917.40__5bb2a467cbec794e/QuickStart.dll
062.----------------------------------------
063.Telerik.WinControls.UI
064.    Assembly Version: 2019.3.917.40
065.    Win32 Version: 2019.3.917.40
066.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.UI/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.UI.dll
067.----------------------------------------
068.System.Core
069.    Assembly Version: 4.0.0.0
070.    Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C
071.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
072.----------------------------------------
073.Telerik.WinControls
074.    Assembly Version: 2019.3.917.40
075.    Win32 Version: 2019.3.917.40
076.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.dll
077.----------------------------------------
078.TelerikCommon
079.    Assembly Version: 2019.3.917.40
080.    Win32 Version: 2019.3.917.40
081.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/TelerikCommon/v4.0_2019.3.917.40__5bb2a467cbec794e/TelerikCommon.dll
082.----------------------------------------
083.System.Xml
084.    Assembly Version: 4.0.0.0
085.    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
086.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
087.----------------------------------------
088.Telerik.WinControls.Themes.TelerikMetro
089.    Assembly Version: 2019.3.917.40
090.    Win32 Version: 2019.3.917.40
091.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetro/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetro.dll
092.----------------------------------------
093.System.Configuration
094.    Assembly Version: 4.0.0.0
095.    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
096.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
097.----------------------------------------
098.Microsoft.GeneratedCode
099.    Assembly Version: 1.0.0.0
100.    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
101.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
102.----------------------------------------
103.Telerik.WinControls.Themes.Fluent
104.    Assembly Version: 2019.3.917.40
105.    Win32 Version: 2019.3.917.40
106.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Fluent/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Fluent.dll
107.----------------------------------------
108.Telerik.WinControls.Themes.FluentDark
109.    Assembly Version: 2019.3.917.40
110.    Win32 Version: 2019.3.917.40
111.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.FluentDark/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.FluentDark.dll
112.----------------------------------------
113.RadControlSpy
114.    Assembly Version: 2019.3.917.40
115.    Win32 Version: 2019.3.917.40
116.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/RadControlSpy/v4.0_2019.3.917.40__5bb2a467cbec794e/RadControlSpy.dll
117.----------------------------------------
118.Telerik.WinControls.Themes.Aqua
119.    Assembly Version: 2019.3.917.40
120.    Win32 Version: 2019.3.917.40
121.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Aqua/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Aqua.dll
122.----------------------------------------
123.Telerik.WinControls.Themes.Breeze
124.    Assembly Version: 2019.3.917.40
125.    Win32 Version: 2019.3.917.40
126.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Breeze/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Breeze.dll
127.----------------------------------------
128.Telerik.WinControls.Themes.Desert
129.    Assembly Version: 2019.3.917.40
130.    Win32 Version: 2019.3.917.40
131.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Desert/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Desert.dll
132.----------------------------------------
133.Telerik.WinControls.Themes.HighContrastBlack
134.    Assembly Version: 2019.3.917.40
135.    Win32 Version: 2019.3.917.40
136.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.HighContrastBlack/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.HighContrastBlack.dll
137.----------------------------------------
138.Telerik.WinControls.Themes.Office2007Black
139.    Assembly Version: 2019.3.917.40
140.    Win32 Version: 2019.3.917.40
141.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2007Black/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2007Black.dll
142.----------------------------------------
143.Telerik.WinControls.Themes.Office2007Silver
144.    Assembly Version: 2019.3.917.40
145.    Win32 Version: 2019.3.917.40
146.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2007Silver/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2007Silver.dll
147.----------------------------------------
148.Telerik.WinControls.Themes.Office2010Black
149.    Assembly Version: 2019.3.917.40
150.    Win32 Version: 2019.3.917.40
151.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Black/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Black.dll
152.----------------------------------------
153.Telerik.WinControls.Themes.Office2010Silver
154.    Assembly Version: 2019.3.917.40
155.    Win32 Version: 2019.3.917.40
156.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Silver/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Silver.dll
157.----------------------------------------
158.Telerik.WinControls.Themes.Office2010Blue
159.    Assembly Version: 2019.3.917.40
160.    Win32 Version: 2019.3.917.40
161.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Blue/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Blue.dll
162.----------------------------------------
163.Telerik.WinControls.Themes.Office2013Dark
164.    Assembly Version: 2019.3.917.40
165.    Win32 Version: 2019.3.917.40
166.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2013Dark/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2013Dark.dll
167.----------------------------------------
168.Telerik.WinControls.Themes.Office2013Light
169.    Assembly Version: 2019.3.917.40
170.    Win32 Version: 2019.3.917.40
171.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2013Light/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2013Light.dll
172.----------------------------------------
173.Telerik.WinControls.Themes.TelerikMetroBlue
174.    Assembly Version: 2019.3.917.40
175.    Win32 Version: 2019.3.917.40
176.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetroBlue/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetroBlue.dll
177.----------------------------------------
178.Telerik.WinControls.Themes.TelerikMetroTouch
179.    Assembly Version: 2019.3.917.40
180.    Win32 Version: 2019.3.917.40
181.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetroTouch/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetroTouch.dll
182.----------------------------------------
183.Telerik.WinControls.Themes.VisualStudio2012Dark
184.    Assembly Version: 2019.3.917.40
185.    Win32 Version: 2019.3.917.40
186.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Dark/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Dark.dll
187.----------------------------------------
188.Telerik.WinControls.Themes.VisualStudio2012Light
189.    Assembly Version: 2019.3.917.40
190.    Win32 Version: 2019.3.917.40
191.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Light/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Light.dll
192.----------------------------------------
193.Telerik.WinControls.Themes.Windows7
194.    Assembly Version: 2019.3.917.40
195.    Win32 Version: 2019.3.917.40
196.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Windows7/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Windows7.dll
197.----------------------------------------
198.Telerik.WinControls.Themes.Windows8
199.    Assembly Version: 2019.3.917.40
200.    Win32 Version: 2019.3.917.40
201.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Windows8/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Windows8.dll
202.----------------------------------------
203.Telerik.WinControls.Themes.Material
204.    Assembly Version: 2019.3.917.40
205.    Win32 Version: 2019.3.917.40
206.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Material/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Material.dll
207.----------------------------------------
208.Telerik.WinControls.Themes.MaterialPink
209.    Assembly Version: 2019.3.917.40
210.    Win32 Version: 2019.3.917.40
211.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialPink/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialPink.dll
212.----------------------------------------
213.Telerik.WinControls.Themes.MaterialTeal
214.    Assembly Version: 2019.3.917.40
215.    Win32 Version: 2019.3.917.40
216.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialTeal/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialTeal.dll
217.----------------------------------------
218.Telerik.WinControls.Themes.MaterialBlueGrey
219.    Assembly Version: 2019.3.917.40
220.    Win32 Version: 2019.3.917.40
221.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialBlueGrey/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialBlueGrey.dll
222.----------------------------------------
223.Telerik.WinControls.Themes.Crystal
224.    Assembly Version: 2019.3.917.40
225.    Win32 Version: 2019.3.917.40
226.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Crystal/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Crystal.dll
227.----------------------------------------
228.Telerik.WinControls.Themes.CrystalDark
229.    Assembly Version: 2019.3.917.40
230.    Win32 Version: 2019.3.917.40
231.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.CrystalDark/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.Themes.CrystalDark.dll
232.----------------------------------------
233.System.Data
234.    Assembly Version: 4.0.0.0
235.    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
236.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
237.----------------------------------------
238.Telerik.WinControls.RadWebCam
239.    Assembly Version: 2019.3.917.40
240.    Win32 Version: 2019.3.917.40
241.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.RadWebCam/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.RadWebCam.dll
242.----------------------------------------
243.Telerik.Windows.MediaFoundation
244.    Assembly Version: 2019.3.910.40
245.    Win32 Version: 2019.3.910.40
246.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.Windows.MediaFoundation/v4.0_2019.3.910.40__5803cfa389c90ce7/Telerik.Windows.MediaFoundation.dll
247.----------------------------------------
248.Telerik.WinControls.ChartView
249.    Assembly Version: 2019.3.917.40
250.    Win32 Version: 2019.3.917.40
251.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.ChartView/v4.0_2019.3.917.40__5bb2a467cbec794e/Telerik.WinControls.ChartView.dll
252.----------------------------------------
253.MediaFoundation
254.    Assembly Version: 3.1.0.32450
255.    Win32 Version: 3.1.0.0
256.    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/MediaFoundation/v4.0_3.1.0.32450__36fa660e1d6ebf8d/MediaFoundation.dll
257.----------------------------------------
258. 
259.************** JIT Debugging **************
260.To enable just-in-time (JIT) debugging, the .config file for this
261.application or computer (machine.config) must have the
262.jitDebugging value set in the system.windows.forms section.
263.The application must also be compiled with debugging
264.enabled.
265. 
266.For example:
267. 
268.<configuration>
269.    <system.windows.forms jitDebugging="true" />
270.</configuration>
271. 
272.When JIT debugging is enabled, any unhandled exception
273.will be sent to the JIT debugger registered on the computer
274.rather than be handled by this dialog box.

Approved
Last Updated: 23 Oct 2019 11:07 by ADMIN
Use attached to reproduce (remove the custom strategy that serves as a workaround)
Approved
Last Updated: 23 Oct 2019 08:37 by ADMIN

To reproduce: 

private void radButton1_Click(object sender, EventArgs e)
{
    RadOpenFileDialog fd = new RadOpenFileDialog();
    fd.ShowHiddenFiles = true;
    fd.ShowDialog();
}

Approved
Last Updated: 23 Oct 2019 06:54 by Alok Tibrewal
Created by: Alok Tibrewal
Comments: 1
Category: ProgressBar
Type: Feature Request
1

It would represent a circular ring and show % (percent) inside.

Approved
Last Updated: 23 Oct 2019 05:55 by ADMIN
Created by: Dimitar
Comments: 0
Category: ChartView
Type: Bug Report
0

Use attached to reproduce. 

- Click at least 7 times.

 

Workaround: Crete new series instance each time.

Approved
Last Updated: 22 Oct 2019 08:16 by ADMIN

I would like to request 2 features/properties:

  1. Disable going back to the days on year editing end (hacked here by the SelectFirstItem() override).
  2. Enable inserting number of days that is currently more than the allowed days in the month by adding one month (hacked by the HandleKeyPressDay() override and MyDayLogic())
    • the date set is 15.09.2019, we start writing the date 31.12.2019. Currently you have to change the months first than the days
    • i guess this is a problem for formats with days first but it is a problem

 

public class MyMaskDateTimeProvider : MaskDateTimeProvider
{
public MyMaskDateTimeProvider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner)
: base(mask, culture, owner)
{
this.AutoSelectNextPart = true;
}

public override void SelectFirstItem() { } //base.SelectFirstItem(); //we do not want to go back to the days after the year part

protected override void HandleKeyPressDay(MaskPart part, KeyPressEventArgs e)
{
if(!int.TryParse(e.KeyChar.ToString(), out int result))
return;
string str = part.value.ToString();
int num1 = 0;
int num2;
if(part.hasZero)
{
if(num1 < part.min
|| num1 > part.max)
{
num2 = result;
}
else
{
if(str.Length > 1)
str = str.Substring(1);
num2 = int.Parse(str + e.KeyChar);
}
}
else
{
if(str.Length > 1)
str = str.Substring(1);
num2 = int.Parse(str + e.KeyChar);
}

if(part.day)
{
MyDayLogic(part, num2, result);
}
else
{
part.value = num2 < part.min || num2 > part.max
? result
: num2;
}

part.hasZero = result == 0;
}

private void MyDayLogic(MaskPart part, int num2, int result)
{
//logic for not continuing when changing days and current set month has less days then days needed, when that happens add one month to the current
if((num2 < part.min)
|| (num2 > part.max))
{
if((num2 > part.min)
&& (num2 <= 31))
{
SelectNextEditableItem();
Up(this.List[this.SelectedItemIndex], this.MinDate, this.MaxDate);
SelectPrevEditableItem();
SelectNextEditableItem();
part.value = num2;
}
else
{
part.value = result;
}
}
else
{
part.value = num2;
}
}
}

Approved
Last Updated: 19 Oct 2019 08:06 by Maximus
Syntax highlighting editor that supports C# and intelisense
Approved
Last Updated: 18 Oct 2019 06:10 by ADMIN

The tab order in the dialog is incorrect, the dialog is not focused when shown.

Workaround: 

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        radRichTextEditor1.RichTextBoxElement.FindReplaceDialog = new MyFindReplaceDialog();

    }
}
class MyFindReplaceDialog : FindReplaceDialog
{
    public MyFindReplaceDialog()
    {
        this.Controls[0].TabIndex = 2; // FindNext button
        this.Controls[1].TabIndex = 3; // Replace Button
        this.Controls[2].TabIndex = 5; // CloseButton
        this.Controls[3].TabIndex = 4; // Replace All button
        //this.Controls[4].TabIndex = 5; // label
        //this.Controls[5].TabIndex = 5; // label
        this.Controls[6].TabIndex = 1; // RepalceWith textbox
        this.Controls[7].TabIndex = 0; // TextToFind  textbox
         

    }
    protected override void OnShown(EventArgs e)
    {
        base.OnShown(e);
        this.Controls[7].Focus();
    }
}

Approved
Last Updated: 17 Oct 2019 09:57 by ADMIN
Created by: Czeshirecat
Comments: 2
Category: WebCam
Type: Bug Report
0

Using FirstLook (also in my application) run the WebCam sample.

Press the takePhotoButton while running youtube video on 2nd monitor (also with netflix, so I assume it's general)

Sound on video pauses and returns when webcam control closed down.

Might be bug, or driver (Im using usb headphones) or needs me to set some property?

 

Approved
Last Updated: 15 Oct 2019 12:09 by ADMIN
Currently when grouping the summary row for each group is shown. The ShowTotals property defines if total summary rows will be shown. Need an option to define if the group summary row will be shown.
Approved
Last Updated: 15 Oct 2019 07:49 by ADMIN

To reproduce:

- drop a track bar and make it less than 100 pixels, move the thumb to the right. 

Workaround:

 rtbPlaybackSpeed.TrackBarElement.MinSize = new System.Drawing.Size(0, 0);

Approved
Last Updated: 14 Oct 2019 06:06 by ADMIN

Please refer to the following code snippet demonstrating how the comparer can be applied:

        public RadForm1()
        {
            InitializeComponent();
            this.radGridView1.EnableFiltering = true;
            this.radGridView1.ShowHeaderCellButtons = true;
            this.radGridView1.FilterPopupInitialized += radGridView1_FilterPopupInitialized; 
        }

        private void radGridView1_FilterPopupRequired(object sender, FilterPopupRequiredEventArgs e)
        {
            RadListFilterPopup popup = e.FilterPopup as RadListFilterPopup;
            if (popup != null)
            { 
                popup.MenuTreeElement.TreeView.TreeViewElement.Comparer = new MyComparer(popup.MenuTreeElement.TreeView.TreeViewElement);
            }
        }

        class MyComparer : TreeNodeComparer
        {
            public MyComparer(RadTreeViewElement treeView)
                : base(treeView)
            {
            }
            public override int Compare(RadTreeNode x, RadTreeNode y)
            {
                if (this.TreeViewElement.SortOrder == SortOrder.Descending)
                {
                    return x.Text.CompareTo(y.Text);
                }
                return x.Text.CompareTo(y.Text) * -1;
            }
        }

Approved
Last Updated: 08 Oct 2019 12:15 by ADMIN
Approved
Last Updated: 08 Oct 2019 08:47 by ADMIN
Created by: TRANSEPT
Comments: 1
Category: Map
Type: Feature Request
1

Hi Team,

Are there any intermediate zoomlevel in the RadMap object?

Currently the transition from one zoomlevel to another is too important.

Thank you for your response

Approved
Last Updated: 07 Oct 2019 10:11 by ADMIN

Add a RadSpreadsheet on the form and try resizing it at design time. You will notice that the control is resized after a considerable delay.

If you Dock the control to Fill and try resizing the form at run you will notice that the layout is incorrect. The attached gif file illustrates the obtained behavior.

Workaround: update the layout after resizing:

        public RadForm1()
        {
            InitializeComponent();
            this.radSpreadsheet1.SizeChanged+=radSpreadsheet1_SizeChanged;
        }

        private void radSpreadsheet1_SizeChanged(object sender, EventArgs e)
        {
            this.radSpreadsheet1.SpreadsheetElement.InvalidateMeasure(true);
            this.radSpreadsheet1.SpreadsheetElement.UpdateLayout();
        }

Approved
Last Updated: 04 Oct 2019 10:04 by ADMIN

I am currently working in Telerik v2019.3.917 and .Net 4.5.2. I have multiple theme's setup for a local application for my users but I am seeing something odd with the Telerik.WinControls.Themes.HighContrastBlack theme. It appears that I am unable to select more than one cell in this theme. My grid has multiselect as true and SelectionMode as CellSelect. I have tried holding ctrl and clicking cells, clicking the row header, holding the mouse down and dragging, and using Ctrl+A but none of these select more than one cell.

I am setting the application theme on launch:

var _t = new Telerik.WinControls.Themes.HighContrastBlackTheme();
ThemeResolutionService.ApplicationThemeName = "HighContrastBlack";

 

Themes that work: All Fluents, All Material, All VS.

Is this a bug or am I missing something?

Approved
Last Updated: 04 Oct 2019 08:29 by ADMIN

Please run the attached sample project with the latest version. You will notice that the maximized floating window is not loaded properly. This used to work in versions prior to R1 2019.

Workaround: remove "WindowState=Maximized" from the XML.

Approved
Last Updated: 03 Oct 2019 07:48 by ADMIN

Please refer to the attached sample project and follow the steps from the gif file. 

You will notice that each time a random group displays only images (no text) when the groups don't fit in the ribbon's width.

Workaround:

        public MDIForm()
        {
            InitializeComponent();
            this.radRibbonBar1.RibbonBarElement.ItemVisiblityStateChanging += this.RibbonBarElement_ItemVisiblityStateChanging;
        }

        private void RibbonBarElement_ItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
        {
            if (args.NextVisibilityState == ChunkVisibilityState.NoText)
            {
                args.Cancel = true;
            }
        }

Approved
Last Updated: 27 Sep 2019 10:45 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: UI Framework
Type: Feature Request
1
If you currently install the nuget package "UI.for.WinForms.Themes", all themes are loaded and referenced. If you only use one theme in the application, you have to remove all others manually. It would be nice if there was an extra package for each theme.
Approved
Last Updated: 27 Sep 2019 10:40 by ADMIN
Created by: Sumayya
Comments: 1
Category: UI Framework
Type: Feature Request
0

			
1 2 3 4 5 6