Hello all,
I'm currently working with radgrid component.
Here is a sample of what i am doing :
First, Radgrid binded is done on server side :
I get 5500 records from my list and i'm using paging.
But when i clicked on the paging system on my webpage, Radgrid disapeared.
I solved it by handling the postback action on server side :
Of course, each time i try to page data inside my grid, the binding is done again for EVERY data (I guess, it take a lot of time to do it)
I would like to bind all data in one request on the server (keep the one i'm using), and allow paging on the client side. Is it possible ?
Am i doing correctly my binding ? Is there any improvement i could do to make this faster ? (We're using Nhibernate to acces data)
Many thanks !
I'm currently working with radgrid component.
Here is a sample of what i am doing :
First, Radgrid binded is done on server side :
IList<VT.LibNHSILdb.EntityFAB> myList = SILDB.FabsList();
GRD_messages.DataSource = myList[0].LST_MESSAGE;
GRD_messages.DataBind();
I get 5500 records from my list and i'm using paging.
But when i clicked on the paging system on my webpage, Radgrid disapeared.
I solved it by handling the postback action on server side :
if
(IsPostBack)
{
GRD_messages.DataSource = myList[0].LST_MESSAGE;
GRD_messages.DataBind();
}
Of course, each time i try to page data inside my grid, the binding is done again for EVERY data (I guess, it take a lot of time to do it)
I would like to bind all data in one request on the server (keep the one i'm using), and allow paging on the client side. Is it possible ?
Am i doing correctly my binding ? Is there any improvement i could do to make this faster ? (We're using Nhibernate to acces data)
Many thanks !