实际上,我想要的只是#lastTab
在 Asp.NET 中由 DataPager 控件呈现的链接的末尾添加。
由于我喜欢NumericalField
诸如“1 2 3 ...”之类的内容,因此我不想弄乱默认实现。
有人可以帮助我吗?
谢谢。
好,
我不想诉诸,jQuery and javascript
但他们是最后的机会。
这是代码:
$("#ctl00_HomeMasterContentPlaceHolder_printReviews_printReviewPager a").each(function (index, value) {
if ($(this).attr("href") != "undefined")
$(this).attr("href", $(this).attr("href") + "#last");
});
他们最终解决了一切。
谢谢。