I am currently working on a page that contains a GridView control which is bound to an ObjectDataSource control. The ObjectDataSource invokes a method on a DAO layer class that returns a DataTable and all is working just fine. Paging and Sorting are enabled and work ok as well. I have "wrapped" the GridView control inside an <UpdatePanel><ContentTemplate> construct and now the Paging and Sorting occur w/o the Page reload as expected - still no problem.
However, now I want to have the GridView simply refresh itself every 5 to 10 seconds so I placed a Timer control w/ an interval of 5000 milliseconds INSIDE the UpdatePanel. I am sure there is more that must be wired and have had trouble finding a good article where the UpdatePanel, TimerControl, and GridView control are used together. Examples that I have seen use Label controls and implement the OnTick event but it is not clear yet to me how to use this w/ a databound control like a GridView. Can anyone suggest a link or 2 showing an example of this scenario.
NOTE: I am not currently programmatically "binding" the GridView control. The GridView control and ObjectDataSource control are simply bound by setting the DataSourceID property of the GridView to the ID of the ObjectDataSource - they are bou
View Complete Post