Reputation: 9017
I've seen multiple websites on the web where they allow you to manipulate data. (i.e. Insert records, delete records, edit records).
The cool thing I've noticed is that when you click remove button, the item removes instantly from the grid. and then it asynchronously goes to a database and removes record from there without bothering a user.
For example in a regular asp.net application if you're using gridview you need to wait until database operation is complete, because gridview is a databound control. If you use update panel you still see item in grid until DataBind event fires again.
Question: is there any js/.net library that will allow me to add such a functionality to the project out of the box?
Upvotes: 1
Views: 118
Reputation: 1950
Yes you can do.You have web method that read your data from your source such as database. You can call this method using Ajax and you can bind ajax response to gridview Here is example Link
Upvotes: 0
Reputation: 109
You can you Client Side Grid Like JQGrid. http://www.trirand.com/blog/jqgrid/jqgrid.html. For loading and editing data you can use Web method or web Services. You can also use ASP.net MVC .
Upvotes: 0
Reputation: 3747
Maybe you want to use WebMethod
on server side + Ajax
calls on client side (using jQuery
for example).
Upvotes: 1