I have a RadDomainDataSource.
It is pulling a collection of information from RIA Services. It is receiving information from POCO
My RadGridView is Tied to this DataSource
I force the Domain Source to Load when the user clicks a search button
Everything works as expected. As i add and Edit, my changes are shown and it works extremely well.
BUT, When a second user EDIT's a record, and i perform a new search, the updated information is not shown in my Grid.
If the second user INSERTS a record, and i perform a new search, i do receive the NEW record.
I have confirmed that on my Updated Data is being returned in my DomainService, but the Grid is not reflecting the change.
It is like it realizes i already have record with ID 12, i'm just going to show what i already now.
Is there a way that i can force the Grid or the DataView inside the RadDataSource to update?
Thanks
It is pulling a collection of information from RIA Services. It is receiving information from POCO
<
telerik:RadDomainDataSource
x:Name
=
"gridDataSource"
QueryName
=
"GetInfoBySearch"
AutoLoad
=
"False" >
<
telerik:RadDomainDataSource.DomainContext
>
<
services:JetDocsDataDomainContext
/>
</
telerik:RadDomainDataSource.DomainContext
>
<
telerik:RadDomainDataSource.QueryParameters
>
<
telerik:QueryParameter
ParameterName
=
"fileNumber"
Value
=
"{Binding Text, ElementName=txtFilterNum}"
/>
<
telerik:QueryParameter
ParameterName
=
"borrowerName"
Value
=
"{Binding Text, ElementName=txtFilterName}"
/>
</
telerik:RadDomainDataSource.QueryParameters
>
</
telerik:RadDomainDataSource
>
My RadGridView is Tied to this DataSource
<
telerik:RadGridView
Grid.Row
=
"1"
x:Name
=
"radGridView"
IsReadOnly
=
"True"
CanUserFreezeColumns
=
"False"
ShowGroupPanel
=
"False"
RowIndicatorVisibility
=
"Collapsed"
Sorted
=
"radGridView_Sorted"
Filtered
=
"radGridView_Filtered"
AutoGenerateColumns
=
"False"
IsBusy
=
"{Binding IsBusy, ElementName=gridDataSource}"
ItemsSource
=
"{Binding DataView, ElementName=gridDataSource}"
>
I force the Domain Source to Load when the user clicks a search button
private void ReloadDataSource()
{
this.gridDataSource.Load();
}
Everything works as expected. As i add and Edit, my changes are shown and it works extremely well.
BUT, When a second user EDIT's a record, and i perform a new search, the updated information is not shown in my Grid.
If the second user INSERTS a record, and i perform a new search, i do receive the NEW record.
I have confirmed that on my Updated Data is being returned in my DomainService, but the Grid is not reflecting the change.
It is like it realizes i already have record with ID 12, i'm just going to show what i already now.
Is there a way that i can force the Grid or the DataView inside the RadDataSource to update?
Thanks