D
Dmitry
Hi All,
I've been looking at clientside callbacks as a way to update parts of
a page without a postback.
Is there a way of rebinding a datagrid on the client. The scenario
would be something like this:
A work queue is displayed on a page using a datagrid
Items are added to the underlying data source by other components in
the system
A javascript function executes every n seconds and discovers new items
for the queue
the datagrid updates, but importantly, the page does not postback
If we can update the datagrid without a postback it means a user can
be filling out a form on the page, but also gets immediate notice that
new items are in the queue.
As far as I can tell a datarid is just rendered html by the time it
gets to a browser, so it can't be manipulated and rebound from the
client.
In contrast, the treeview client behaviour is a clientside object
which binds to an xml data source and can be rebound through client
script.
So it appears I'd need to create something similar to mimick a
datagrid.
Does anyone have any thoughts?
Thanks
I've been looking at clientside callbacks as a way to update parts of
a page without a postback.
Is there a way of rebinding a datagrid on the client. The scenario
would be something like this:
A work queue is displayed on a page using a datagrid
Items are added to the underlying data source by other components in
the system
A javascript function executes every n seconds and discovers new items
for the queue
the datagrid updates, but importantly, the page does not postback
If we can update the datagrid without a postback it means a user can
be filling out a form on the page, but also gets immediate notice that
new items are in the queue.
As far as I can tell a datarid is just rendered html by the time it
gets to a browser, so it can't be manipulated and rebound from the
client.
In contrast, the treeview client behaviour is a clientside object
which binds to an xml data source and can be rebound through client
script.
So it appears I'd need to create something similar to mimick a
datagrid.
Does anyone have any thoughts?
Thanks