Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 2-Jun-15 4:07am
v3

1 solution

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.
 
Share this answer
 
v2
Comments
[no name] 3-Jun-15 2:14am    
Thanks, but do you have any code that bind ajax-object into html.
F-ES Sitecore 3-Jun-15 4:22am    
If you want to put a property into an element like

<div id="myData"></div>

then use

$("#myData").html(myJsonObject.someProperty);

if you need something more complex you can look at angularjs or knockout.
[no name] 3-Jun-15 6:02am    
thanks you so much its working fine

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900