Solved

ASP.NET Dynamic Data, How add Filter Columns

Posted on 2010-11-10
8
775 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
HttpPostedFile 1 26
Help with preventing downloading a zip file 10 36
No Data for DropDown List 2 24
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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