Solved

ASP.NET Dynamic Data, How add Filter Columns

Posted on 2010-11-10
8
774 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now