In Visual Studio 2012 I have problem with a RadGridView using a project binding source. It happened after making a change in my code and recompiling.
Sometimes the problem will magically go away after clicking on a different control and then clicking on the grid again. Other times I have to completely close VS and reopen it.
Hopefully someone has suggestions on how to fix it.

Hello,
Where can I download the NuGet packages for WPF ? Your UG is not like in live site
http://docs.telerik.com/devtools/wpf/installation-and-deployment/installing-telerik-ui-on-your-computer/installation-installing-from-nuget-wpf#installing-wpf-controls-package
is this possible to get the download zip packages for all the controls that is mentioned in UG?
Thanks,
Abbas K

Hi,
I want hide a row completely in radgridview when specific columns contains null(empty) values.
Hi Team,
I am working on a WPF application which extensively uses Telerik controls.We are trying to automate few scenarios in our application. As a beginner in Coded UI I started by recording a simple flow, however while replaying the same ,faced couple of issues highlighted below
Note: We are using Telerik version -2014.3.1202.40
Script not identifying ControlType-:TabPage,this control is located inside rbrMain.
Refer attachment –screenshot 1 & 2. Find
Below the error message I receive:
Test Name: CodedUITestMethod1
Test FullName: CodedUITestProject_IncentBasic.CodedUITest1.CodedUITestMethod1
Test Source: <<Project
code>> failed at
Test Outcome: Failed
Test Duration: 0:00:34.7996513
Result Message:
Test method
CodedUITestProject_IncentBasic.CodedUITest1.CodedUITestMethod1 threw exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:
The playback failed to find the control with the given search
properties. Additional Details:
TechnologyName:
'MSAA'
ControlType:
'TabPage'
Name: 'Data'
--->
System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been
returned from a call to a COM component.
Result StackTrace:
at
Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String
bstrQueryId, Object& pvarResKeys, Int32
cResKeys, Int32 nMaxDepth)
at
Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String
queryId, Int32 depth, Boolean singleQueryId,
Boolean throwException, Boolean resetSkipStep)
at
Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String
queryId, Int32 depth, Boolean resetSkipStep)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String
queryId, Int32 maxDepth, Int32& timeLeft)
--- End of inner
exception stack trace ---
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException
ex, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException
innerException, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception
exception, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception
exception, String queryId)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String
queryId, Int32 maxDepth, Int32& timeLeft)
at
Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean
useCache, ISearchArgument searchArg)
at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument
searchArg)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<Find>b__37()
at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean
firePlaybackErrorEvent, Boolean logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.Find()
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyPrivate(String
propertyName)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<>c__DisplayClass3b.<GetProperty>b__3a()
at
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean
firePlaybackErrorEvent, Boolean logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String
propertyName)
at
Microsoft.VisualStudio.TestTools.UITesting.ALUtility.GetTechElementFromUITestControl(UITestControl
uiTestControl)
at
Microsoft.VisualStudio.TestTools.UITesting.ActionExecutorManager.GetActionExecutor(UITestControl
uiControl)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.ClickImplementation(UITestControl
control, MouseButtons button, ModifierKeys modifierKeys,
Point relativeCoordinate)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.<>c__DisplayClass6.<Click>b__5()
at
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean
firePlaybackErrorEvent, Boolean logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control,
MouseButtons button, ModifierKeys modifierKeys, Point
relativeCoordinate)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control,
Point relativeCoordinate)
When trying to click on buttons located on RBR main and not on TabPage control script is still not identifying those objects and failing on replay:
Refer Screenshot 3 in attachment .
Find below the error message.
Result Message:
Test method
Incent_Scenario2_ClickOnReportButton.CodedUITest1.CodedUITestMethod1 threw
exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:
The playback failed to find the control with the given search properties.
Additional Details:
TechnologyName: 'MSAA'
ControlType: 'Button'
Name:
'Reports'
---> System.Runtime.InteropServices.COMException:
Error HRESULT E_FAIL has been returned from a call to a COM component.
Result StackTrace:
at
Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String
bstrQueryId, Object& pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
at
Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String
queryId, Int32 depth, Boolean singleQueryId, Boolean throwException, Boolean
resetSkipStep)
at
Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String
queryId, Int32 depth, Boolean resetSkipStep)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String
queryId, Int32 maxDepth, Int32& timeLeft)
---
End of inner exception stack trace ---
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException
ex, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException
innerException, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception
exception, IPlaybackContext context)
at
Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception
exception, String queryId)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String
queryId, Int32 maxDepth, Int32& timeLeft)
at
Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean
useCache, ISearchArgument searchArg)
at
Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument
searchArg)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<Find>b__37()
at
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean
logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.Find()
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyPrivate(String
propertyName)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<>c__DisplayClass3b.<GetProperty>b__3a()
at
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean
logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String
propertyName)
at
Microsoft.VisualStudio.TestTools.UITesting.ALUtility.GetTechElementFromUITestControl(UITestControl
uiTestControl)
at
Microsoft.VisualStudio.TestTools.UITesting.ActionExecutorManager.GetActionExecutor(UITestControl
uiControl)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.ClickImplementation(UITestControl
control, MouseButtons button, ModifierKeys modifierKeys, Point
relativeCoordinate)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.<>c__DisplayClass6.<Click>b__5()
at
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1
function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean
logAsAction)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control,
MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
at
Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control,
Point relativeCoordinate)


Can anybody help with why the following will not display a vertical
<Grid> <telerik:RadListBox HorizontalAlignment="Left" Height="135" Margin="24,13,0,0" VerticalAlignment="Top" Width="510" ItemsSource="{Binding Source={StaticResource groups}, UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"> <telerik:RadListBox.ItemTemplate> <DataTemplate> <VirtualizingStackPanel> <TextBlock Text="{Binding display}" /> </VirtualizingStackPanel> </DataTemplate> </telerik:RadListBox.ItemTemplate> <telerik:RadListBox.GroupStyle> <GroupStyle HeaderTemplate="{StaticResource groupTemplate}" /> </telerik:RadListBox.GroupStyle> </telerik:RadListBox></Grid>but the following does?
<Grid> <telerik:RadListBox Height="77" Width="410" ItemsSource="{Binding Source={StaticResource groups}}" SelectedIndex="{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"> <telerik:RadListBox.ItemTemplate> <DataTemplate> <VirtualizingStackPanel> <TextBlock Text="{Binding Name}" /> </VirtualizingStackPanel> </DataTemplate> </telerik:RadListBox.ItemTemplate> <telerik:RadListBox.GroupStyle> <GroupStyle HeaderTemplate="{StaticResource groupTemplate}" /> </telerik:RadListBox.GroupStyle> </telerik:RadListBox> </Grid>I recently wanted to add "headers" to my ListBox and was able to do so thanks to the following post:
http://www.telerik.com/forums/can-a-listbox-have-headers
However, now I haven't been able to have the entries in the listbox refresh when the underlying data changes. It seemed to work just find before the "headers" were added. I have attached the original code when the data binding seemed to work fine:
<telerik:RadListBox HorizontalAlignment="Left" Height="235" Margin="24,13,0,0" VerticalAlignment="Top" Width="510" ItemsSource="{Binding Associates, UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" DisplayMemberPath="display">
</telerik:RadListBox>and the code where the headers works fine (but data binding doesn't seem to work when the data changes...):
<telerik:RadListBox HorizontalAlignment="Left" Height="235" Margin="24,13,0,0" VerticalAlignment="Top" Width="510" ItemsSource="{Binding Source={StaticResource groups}, UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" DisplayMemberPath=""> <telerik:RadListBox.ItemTemplate> <DataTemplate> <VirtualizingStackPanel> <TextBlock Text="{Binding display}" /> </VirtualizingStackPanel> </DataTemplate> </telerik:RadListBox.ItemTemplate> <telerik:RadListBox.GroupStyle> <GroupStyle HeaderTemplate="{StaticResource groupTemplate}" /> </telerik:RadListBox.GroupStyle> </telerik:RadListBox>Hi all,
I implement row drag drop function, I got a demo source code in somewhere forum(), the problem is:
In demo source code, Telerik tersion is 2009.1.526.35, below code works OK
private void RowMouseMove(object sender, MouseEventArgs e){//Some codeRadItemsControl itemsControl = this.gridView.ItemsControl;this.currentDropIndex = itemsControl.Records.IndexOf(row.Record);//Some code}But currently my solution uses a newer Telerik version, 2014.1.331.40, RadItemsControl could not be found.
How can I find the similar control to replace the old one? Or any idea to get current drop index here?
Thanks.