Ajax上的数据加载通知 [英] Data load on Ajax for notification

查看:65
本文介绍了Ajax上的数据加载通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们



我已经开发了一个网站,我在仪表板页面上有通知部分。我使用网格进行通知显示,也使用了挂钩。还有一个下拉菜单,如果我更改相应值的下拉值,仪表板页面上显示的通知数量



问题:-i想要删除分页而不是我想使用ajax数据加载并将该数据绑定到html。我怎么能完成这个任务...任何人请帮助我

Hi,Friends

i had developed one website into that i have notification section on dashboard page. i used web-grid for notification display and also used pegging. there is also one drop-down if i change value of drop-down respective to that value, number of notification shown on dashboard page

question :-i want to remove pagination and instead of that i want to used ajax data-load and bind that data into html. how can i completed this task ...any one please help me out

推荐答案

编写一个动作,通过json结果和google调用mvc返回你需要的数据来自jquery的动作找出如何调用它并解释结果。如果您有关于您正在做什么的更具体的问题,请使用您目前所执行的操作以及您拥有的具体查询来更新问题。
Write an action that returns the data you need via a json result and google "call mvc action from jquery" to find out how to call it and interpret the results. If you have a more specific question about what you're doing then update the question with what you've done so far and the specific query you have.


这篇关于Ajax上的数据加载通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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