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 4626172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:22:50+00:00 2026-05-22T03:22:50+00:00

I am currently developing a C# based asp.net page. I am using the Devexpress

  • 0

I am currently developing a C# based asp.net page.

I am using the Devexpress Aspx Gridview control to allow users to filter various data on my asp.net web page. Some examples of such data include users profiles and articles written by the user.

What I want is to be able to have my gridview control not return any rows until at least one filter parameter is entered by the user. The reason for this is that I want the control to appear to the end user to be an advanced search more than a filter and I do not want to arbitrarily give preference to the first couple of entries returned by the data source.

Is there any way to accomplish this, either via javascript or c#.

  • 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-22T03:22:50+00:00Added an answer on May 22, 2026 at 3:22 am

    The Selecting event of the SQLDataSource works ideally for me:

    protected void SqlDataSource2_Selecting(object sender, System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs e) {
        e.Cancel = ASPxGridView1.FilterExpression == string.Empty;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing an ASP.NET Human Resources System. I'm using a layered architecture with
We are currently developing an application based on NHibernate and ASP.NET MVC and a
I'm developing an ASP.NET MVC application where the content for any page can be
I'm currently developing a web app on Django/Python, and I consider moving to ASP.NET
I'm currently developing an ASP.NET application which uses a MasterPage and I want to
We are currently developing Sliverlight 4.0 based web application using PRISM 4.0 for Sliverlight
I am currently developing a webservice using jax-ws based on an EJB behind a
I am currently developing an ASP.net c# application. I have a grid view which
Our vendor-created platform is asp.net based and I am developing customizations in the form
I'm currently developing an application based on no-sql (using raven db). The core aspect

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.