views:

285

answers:

2

Hello,

I want to create a portfolio page like the one in the link below but I am trying to get all the information (Categories and Images and names etc) from a LinqDataSource. http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/

I am having the same html page source with the one in the sample in the link but It doesnt work in the asp.net file ?

Any explanation for that ?

Thx in advance

K

A: 

In the demo each li has multiple classes that are used to specify their categories, your code only looks like each thing can be in one category.

The actual rendered page would be something to look at.

You should put this line

    <script src="~/Scripts/jquery.js" type="text/javascript"></script>

above the jquery you have on the page, also, i see two of your class names are "MY SQL" and "ASP.NET" those wont work because one has a space in it and the other has a "." in it.

John Boker
yes there are multiple classes for each tag those classes are filters and in my case I want to filter only with one tag which is the subcategory of that item. That's the only difference, any idea how to fix that ?
Kubi
could you post the actual code that's being produced?
John Boker
and say what exactly is not working.
John Boker
Kubi
the filters do not work !
Kubi
thank you very much
Kubi
If i answered your question you should mark this as the answer so i get rep points :)
John Boker
damn, how am i doing that ? :S
Kubi
ok I found :) sorry I am quite new to here
Kubi
A: 

just realized that var filterVal = $(this).text().toLowerCase().replace(' ','-'); is inside the framework.js

so my filters should be all lowercase when getting them from the database

Kubi