WCF RIAServices DomainDataSource caching problem
We have a problem with the Silverlight DomainDataSource control (from System.Windows.Controls.DomainServices) 

Server side, we have a simple DomainService GET method, like this:

    public IQueryable<SearchResults> GetSearchResults(string searchText);

Client side, we have a DomainDataSource which binds to the query automatically:

	<riaControls:DomainDataSource x:Name="xSearchDataSource" 
		QueryName="GetSearchResultsQuery"
		AutoLoad="True"
		PageSize="10" LoadSize="100" />

The server method (GetSearchResults) throws a DomainException when the user is not authenticated (FormsAuthenticationCookie expires). This is as designed. 

But when the user is re-authenticated, and the Query is called again with the same 'searchText' parameter, then the Query never gets to the server (no breakpoint hit; Fiddler shows no http request sent). But our exception handling code gets the DomainException again - I can only assume the DomainDataSource control has cached the result as being an exception, and just throws it without sending a request to the server. 

If we enter a different search parameter, then the query is re-executed no problem.

Can anyone help?
WCF RIAServices DomainDataSource caching problem
===

We have a problem with the Silverlight DomainDataSource control (from System.Windows.Controls.DomainServices) 

Server side, we have a simple DomainService GET method, like this:

    public IQueryable<SearchResults> GetSearchResults(string searchText);

Client side, we have a DomainDataSource which binds to the query automatically:

	<riaControls:DomainDataSource x:Name="xSearchDataSource" 
		QueryName="GetSearchResultsQuery"
		AutoLoad="True"
		PageSize="10" LoadSize="100" />

The server method (GetSearchResults) throws a DomainException when the user is not authenticated (FormsAuthenticationCookie expires). This is as designed. 

But when the user is re-authenticated, and the Query is called again with the same 'searchText' parameter, then the Query never gets to the server (no breakpoint hit; Fiddler shows no http request sent). But our exception handling code gets the DomainException again - I can only assume the DomainDataSource control has cached the result as being an exception, and just throws it without sending a request to the server. 

If we enter a different search parameter, then the query is re-executed no problem.

Can anyone help?