用户选择选项,用于页面中没有记录 [英] User selection option for no of records in a page

查看:94
本文介绍了用户选择选项,用于页面中没有记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在我的MVC应用程序中实现了分页。到目前为止,我每页设置50条记录。现在我的要求是用户应该选择从下拉列表中选择的任何内容我将会在下拉列表中显示为10,20,30,40,50,100。当用户选择特定值时,我必须在页面中显示记录的数量。那么如何通过将下拉选择值传递给控制器​​来实现此目的。请帮助我这个。



提前致谢。



我尝试过的方法:



我在MVC中实现了分页。

Hi,
I have implemented pagination in my MVC application.As of now I am setting 50 records per page.Now my requirement is user should select whatever he will select from the dropdown wher I will show like 10,20,30,40,50,100 in dropdown.When user selects the specific value I have to show the no of records in the page.So how can I achieve this by passing the dropdown selected value to the controller.Please help me on this.

Thanks in advance.

What I have tried:

I have implemented pagination in MVC.

推荐答案

嘿,



您需要使用一些默认数据库来完成任务。喜欢:

jQuery Datatable,Telerik Kendo。

这些是使用数据表将数据绑定到显示器的网格结构。



谢谢
Hey,

You need to use some default data library which will do the task for you. Like:
jQuery Datatable, Telerik Kendo.
These are the grid structures which bind your data to the display using the datatables.

Thanks


这篇关于用户选择选项,用于页面中没有记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆