paulirish/infinite-scroll — Issue #130: Can't find URL for 'nextSelector'
Author: vladakg85
Created: 2012-02-19 20:58:52+00:00
State: open

I am not sure if this is plugin issue. But anyway something is wrong.
I am using ASP MVC with this plugin (I started discussion here also http://stackoverflow.com/questions/9352251/relative-path-issue-in-razor)
When I put :

MoreData.cshtml
...
It works. No problem but this is full URL path in my code.
So if I try to create it in asp mvc normal way for creating tags It doesn't work anymore:

@Html.ActionLink(" ", "MoreData", "Home")
...

Href in this case is: /Home/MoreData

Error that I get:
["Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."] jquery.infinitescroll.min.js:29["determinePath", "/Home/MoreData"] jquery.infinitescroll.min.js:29["Binding", "bind"]