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: 18 Oct 2019 08:21 by Czeshirecat
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: 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: 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: 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;
            }
        }

Completed
Last Updated: 18 Oct 2019 08:03 by ADMIN
Release R3 2019 SP1
This way the column could bind to any collection of objects which can be converted to doubles.
Completed
Last Updated: 09 Oct 2019 11:51 by ADMIN
Release R3 2019 SP1

StackTrace:

   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.GetFormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.get_FormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.ExportFormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.Export()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocxExporter.AddXmlContentToPackage(DocxPartExporterBase exporter)
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocxExporter.Export()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider.Export(RadDocument document, Stream output)

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: 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.

Pending Review
Last Updated: 03 Oct 2019 16:23 by ADMIN
Created by: Larry
Comments: 1
Category: RichTextEditor
Type: Bug Report
1
There appears to be an issue when adding Comments that overlap each other. I will attach a video to my next reply that shows how to replicate the issue.
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();
        }

Completed
Last Updated: 09 Oct 2019 08:16 by ADMIN
Release R3 2019 SP1
Created by: n/a
Comments: 0
Category: Spreadsheet
Type: Bug Report
0

When you set the AutoSize property to true, the control becomes enormous - Size (5002, 5002).

There is no specific logic for auto-sizing the control. We should either remove the AutoSize property or size the control according to the rows/columns it uses.

Completed
Last Updated: 18 Oct 2019 09:59 by ADMIN
Release R3 2019 SP1
Created by: Rajesh
Comments: 7
Category: UI for WinForms
Type: Bug Report
0

i am not able to run the Quickstart examples

when i opened the solution in visual studio and run it, its throwing the error application its throwing error as "FileNotFoundException: Could not find file 'C:\Users\rpeddala\AppData\Roaming\Telerik\WinForms\Examples\Analytics\config.xml"as shown below

 

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: 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?

Completed
Last Updated: 14 Oct 2019 10:33 by ADMIN
Release R3 2019 SP1

Dear Telerik Support Team,

 

I have a Grid with one level of Hierarchy, I am using also the search row control of Gridview but this control only searches the data in the Parent Grid and not in the child Grid, I am using the version: v.2019.2.618.20 of Telerik controls in the Project. Below is the code snippet which is used in the Project, please let us know how we can search in child grid using the search row of the Gridview.

 

            radgvStockCount.DataSource = dtStockCountHeader
            radgvStockCount.MasterTemplate.EnableHierarchyFiltering = True
            radgvStockCount.UseScrollbarsInHierarchy = True
            radgvStockCount.MasterTemplate.Columns("INVCountHeaderId").IsVisible = False
            radgvStockCount.MasterTemplate.Columns("INVCountNo").HeaderText = "Stock Count No"
            radgvStockCount.MasterTemplate.Columns("CountryCode").HeaderText = "Country Code"
            radgvStockCount.MasterTemplate.Columns("AreaCode").HeaderText = "Area Code"
            radgvStockCount.MasterTemplate.Columns("LocationCode").HeaderText = "Location Code"
            radgvStockCount.MasterTemplate.Columns("LocationName").HeaderText = "Location Name"
            radgvStockCount.MasterTemplate.Columns("CreatedBy").HeaderText = "Opened By"
            radgvStockCount.MasterTemplate.Columns("CreatedDate").HeaderText = "Opened Date"

            Dim template As New GridViewTemplate()
            template.DataSource = dtStockCountBatches
            radgvStockCount.Templates.Add(template)
            template.Columns("INVCountBatchesId").IsVisible = False
            template.Columns("INVCountHeaderId").IsVisible = False
            template.Columns("INVCountNo").HeaderText = "Stock Count No"
            template.Columns("INVCountBatchesNo").HeaderText = "Stock Count Batch No"
            template.Columns("LocationCode").HeaderText = "Location Code"
            template.Columns("LocationName").HeaderText = "Location Name"
            template.Columns("SupervisorQty").HeaderText = "Supervisor Qty"
            template.Columns("CreatedBy").HeaderText = "Batch File Uploaded By"
            template.Columns("CreatedDate").HeaderText = "Uploaded Date"
            template.AllowAddNewRow = False
            template.AllowEditRow = False
            template.AllowDeleteRow = False
            template.AllowSearchRow = False
            template.AllowRowResize = False
            template.EnableFiltering = True
            template.EnableHierarchyFiltering = True
            template.ShowHeaderCellButtons = True
            template.ShowGroupedColumns = True
            template.EnableHierarchyFiltering = True
            template.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill

            Dim relation As New GridViewRelation(radgvStockCount.MasterTemplate, template)
            relation.RelationName = "StockCountBatches"
            relation.ParentColumnNames.Add("INVCountHeaderId")
            relation.ChildColumnNames.Add("INVCountHeaderId")
            radgvStockCount.Relations.Add(relation)
Completed
Last Updated: 08 Oct 2019 16:27 by ADMIN
Release R3 2019 SP1

When pressing Enter or Tab in the new row the ParsingDateTime event is fired after the editor is validated. Use attached to reproduce.

 

private void GridView_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
    var editor = gridView.ActiveEditor as RadDateTimeEditor;
    var editorElement = editor.EditorElement as RadDateTimeEditorElement;
    editorElement.TextBoxElement.MaskType = MaskType.FreeFormDateTime;
    var provider = ((FreeFormDateTimeProvider)editorElement.TextBoxElement.Provider);
    editorElement.TextBoxElement.Provider = new MyFreeFormDateTimeProvider(provider.Mask, provider.Culture, provider.Owner);
}

class MyFreeFormDateTimeProvider : FreeFormDateTimeProvider
{
    public MyFreeFormDateTimeProvider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner) : base(mask, culture, owner)
    {
    }
    public override bool Validate(string stringValue)
    {
        //do your code here
        return base.Validate(stringValue);
    }
}
Completed
Last Updated: 03 Oct 2019 11:43 by ADMIN
Release R3 2019 SP1 (LIB 2019.3.1007)
Setting the property to false should disable editing in the control.
Pending Review
Last Updated: 02 Oct 2019 11:15 by ADMIN
Created by: tstephens
Comments: 1
Category: DropDownList
Type: Bug Report
0

I am using Visual Studio 2019, version 16.3.1 and when using the DropDownList and running it in the VS debugger, the DropDownList get populated properly, but when you click the down arrow for the first time, the list drops down and you can scroll with the mouse wheel, but it will not allow you to select anything with the mouse.

If you click the down arrow to close the list, and click it again to reopen the list, it works properly - selecting the item chosen.

I have tried numerous property setting in attempt to narrow down if any of the properties set are causing it, but have been unsuccessful.

I have created several test projects with only 1 form and only the dropdownlist on the form and this happens reliably in every project I have tested within Visual Studio.

If I build the executable and run it directly, the DropDownList works properly as expected.

The DropDownList version is listed as 2019.3.917.40 in Visual Studio 2019 16.3.1.

I opened the project in JetBrains Rider on the same machine and everything works fine.

1 2 3 4 5 6