Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6946595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:35:07+00:00 2026-05-27T13:35:07+00:00

In ria services for silverlight 3 there was a functionality through RefreshEventName in order

  • 0

In ria services for silverlight 3 there was a functionality through RefreshEventName in order to control when a filter should be applied to the domain service query. (usually set to TextChanged)

In the new implementation of ria (visual studio 2010) the only way to set the filters of a query is by using a filterDescriptor along with binding like the following example:

    <riaControls:DomainDataSource x:Name="myData" LoadSize="50" QueryName="GetPartnerCategoriesQuery" AutoLoad="True">
        <riaControls:DomainDataSource.DomainContext>
            <ds:DataAccessContext />
        </riaControls:DomainDataSource.DomainContext>
        <riaControls:DomainDataSource.FilterDescriptors>
            <riaControls:FilterDescriptor PropertyPath="Descr" Operator="Contains" Value="{Binding Text,ElementName=txtFilter}" 
                                          IsCaseSensitive="False" IgnoredValue=""  />
        </riaControls:DomainDataSource.FilterDescriptors>
    </riaControls:DomainDataSource>

Is there a way to control on when the filter should be applied?
The default setting is magically set to TextChanged.
I am looking for a way to set the filters on LostFocus event, or even better using a button.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:35:07+00:00Added an answer on May 27, 2026 at 1:35 pm

    Thought of a way to implement a “press button to search” functionality.
    Instead of binding the filterDescriptors to elements (textboxes etc) i bind them to properties on codebehind.
    When the user clicks the search button i just copy the values of the controls to the properties.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using RIA services in a silverlight application with a RIA domain service
When using .NET RIA Services and MVVM in Silverlight 3.0 is there a difference
Is there any way to prevent Silverlight/RIA Services from converting a datetime object on
We have a silverlight project that uses RIA services. There is some code that
I created WCF RIA DOMAIN Services project with Silverlight 4 with entiry framework having
I am having difficulty deploying RIA services/Silverlight 3 to a staging environment. Here is
I am currently researching RIA services with Silverlight. We are not interested in using
I can create new Silverlight App with .NET RIA Services enabled. But when I
I am making a RIA application using Silverlight and web services. The method of
Can the .NET RIA Service automatically push data to the silverlight client without the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.