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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:56:45+00:00 2026-06-14T12:56:45+00:00

I have a ASP.NET dynamic data site that has multiple filter controls built using

  • 0

I have a ASP.NET dynamic data site that has multiple filter controls built using metadata such as:

[ScaffoldTable(true), MetadataType(typeof(Fees.Metadata))]
public partial class Fees
{
    public class Metadata
    {
        [FilterUIHint("DateRange")]
        public object InvoiceDate;
    }
{

How do I order these filters in a particular way. It seems very random. Can I use a metadata attribute or should I modify the page template, what’s the go?

  • 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-06-14T12:56:46+00:00Added an answer on June 14, 2026 at 12:56 pm

    OK so I ended up just manually reordering the controls list on the custom code-behind page like so:

    Control date_filter = FilterRepeater.Controls[1];
    FilterRepeater.Controls.RemoveAt(1);
    FilterRepeater.Controls.Add(date_filter); 
    

    Of 3 controls on the page this takes the 2nd out and adds it onto the end.

    If I need to use again I might create a method and search on control name.

    This is a crude solution but it suits me for this one off scenario. If anyone finds a better way let me know.


    OK better way:

    1. Install this: http://nuget.org/packages/NotAClue.DynamicData.Extensions
    2. Add reference “using NotAClue.ComponentModel.DataAnnotations;” if you are using a separate entity page
    3. Add [Filter(Order=1)] metadata tags to attributes
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a product admin web site that has been generated using ASP.NET Dynamic
I have an ASP.NET Dynamic Data site that should only be accessible to administrators
I'm using ASP.Net Dynamic Data. I have the following line in my site.master page.
I have an ASP.NET Dynamic Data application (using Entity Framework) in which I have
I have a ASP.NET Web Forms application and I'm using some dynamic controls in
In an ASP.NET Dynamic Data web site/project, all the templates have CSS classes like
I have come to the conclusion that the very nifty ASP.NET Dynamic Data framework
I have a Dynamic Data website built in Visual Studio 2008 using .NET 3.5
I have an ASP.NET Dynamic Data application that includes two tables, Departments and KPI's
I am using ASP.NET Dynamic Data for a project and I have a table

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.