DataGrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

How can I display data in DataGrid without the need to refresh the page
Should I use Page.RegisterClientScriptBlock

Thank you
 
the initial loading of data in the datagrid control will require a postback, however you can check for this in the page_load event by calling if(!Page.IsPostBack) to eliminate unneccessary round trips to the server, IE:

void Page_Load(...)
{
if(!Page.IsPostBack)
{
// setup the data grid here
}
}

hth
jayson
 
Back
Top