Solved

ASP.NET Dynamic Data, How add Filter Columns

Posted on 2010-11-10
8
777 Views
Last Modified: 2012-05-10
Following the next tutorial http://www.dotnetfunda.com/articles/article1039-aspnet-dynamic-data-.aspx

I could successfully make my first webpage with dynamic data, but I cant see any filter comboboxes when I access one of my databases ( I created my own databases, im not using Northwind database).

I attached an image of my database, you can notice i dont have any relationships, because for my is not 100% necessary but i can add them  if I must add a relationship in order to get this filter combos.

My point is im not sure how to get a filter combo based in a column of my Database, it looks like the NorthWind database have something configured because they appear automatically  (like the "Discontinued" column)
DB.PNG
0
Comment
Question by:Veljean
8 Comments
 
LVL 6

Expert Comment

by:AliSyed
ID: 34102961
Please make the relationships and check
0
 
LVL 1

Author Comment

by:Veljean
ID: 34103077
I already did it, if I make a relationship between the tables "Vehiculos" and "Visitas"· with NumOrder column.

The result is only an extra column called "Visitas" , where evidently show the relationship between both, but i dont want that , i want to be able to filter by FechaPAgo or any other column of "Vehiculos"
0
 
LVL 15

Expert Comment

by:aibusinesssolutions
ID: 34139254
What are you using to display your data?  Linq to Sql, Datasets, SqlDataAdapters, SqlCommands, etc.

What are you binding to?  Datagrid, Datalist, Repeater, etc.

0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 1

Author Comment

by:Veljean
ID: 34145828
Linq to Sql, I followed the tutorial (click the link), since everything is self-created im not very sure what I am binding
0
 
LVL 15

Expert Comment

by:aibusinesssolutions
ID: 34147239
I must be blind, I couldn't find a way to download that tutorial, but I did notice a Filters folder in the screenshots.  It may contain the filter classes.
0
 
LVL 1

Accepted Solution

by:
Veljean earned 0 total points
ID: 34147337
it have it, but is not as simple like add a new filter(.ascx) , im not very sure what im missing although I have followed all the tutorial   :(
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34387694
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question