Hi Telerik,
I'm using Radgrid in my application.
I have one dount regarding radgrid needdatasource event.
Actually I'm binding the grid as follows
grid_needdatasource()
{
bindgrid();
}
bindgrid()
{
//database intraction
grid.datasouce=dt;
}
Actually it will cal for databind,sorting and paging.
But everytime when we do sorting or paging this event will called and automatically bindgrid() method will call and it leads to database interaction agian. So every time when we do sorting or pagind its need database intraction. How to avoid this.
I think I have explored my doubt understandably.
please help me.
I'm using Radgrid in my application.
I have one dount regarding radgrid needdatasource event.
Actually I'm binding the grid as follows
grid_needdatasource()
{
bindgrid();
}
bindgrid()
{
//database intraction
grid.datasouce=dt;
}
Actually it will cal for databind,sorting and paging.
But everytime when we do sorting or paging this event will called and automatically bindgrid() method will call and it leads to database interaction agian. So every time when we do sorting or pagind its need database intraction. How to avoid this.
I think I have explored my doubt understandably.
please help me.