gpt4 book ai didi

asp.net-mvc - Razor MVC 部分 View 分页 url 操作,如何定义指定的 url?

转载 作者:行者123 更新时间:2023-12-05 01:22:12 25 4
gpt4 key购买 nike

默认网址: http://ipf.bulgaria.local/Aboutus.aspx

点击分页网址后: http://ipf.bulgaria.local/api/sitecore/Newsfeed?page=2

预期网址: http://ipf.bulgaria.local/Aboutus.aspx?page=2

有人可以建议我如何实现预期的 url 以及如何读取“/api/sitecore/Newsfeed”吗?

<div class="col-sm-10">
<div class="center">
@Html.PagedListPager((PagedList.IPagedList)Model
.SelectedNewsItems,
page => Url.Action("Index", new { page }))
</div>
</div>

最佳答案

关于asp.net-mvc - Razor MVC 部分 View 分页 url 操作,如何定义指定的 url?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30467064/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com