Link to home
Start Free TrialLog in
Avatar of madhav_ghatole
madhav_ghatoleFlag for India

asked on

How to refresh gridview data at some specified interval in dotnetnuke 4.x module?

 Hi,

  I am new to dotnetnuke. I am developing custom DNN modules using DNN 4.x [VB.net and SQL Server 2005].
  Each module has a gridview in it and I am binding that data from tables dynamically by coding in .vb file.
      Table's data is updating by some background programs.  I used Timer control to bind gridview data
  at specified interval so that when table data updates it should show in gridview.
  It works fine when there is only one module on a DNN page and updates gridview data at specified interval,
  when I add more such module on a page then it's not updating grids properly.
      I need Grids should refresh at some interval and that refresh interval should be configurable.
  How do I solve this   problem in DNN?  Is there any other way to do this?

  Thanks,
  Madhav
Avatar of tovvenki
tovvenki

hey Madhav,
what do you mena by "it's not updating grids properly" is it not updating the grid completey/ are you getting any errors.

I also assume that you are using the ajax timer with an updatepanel to update the grid periodically.

Thanks and regards,
venki
Avatar of madhav_ghatole

ASKER

Hi tovvenki,

It's not updating grid completely. I am using update panel and AJAX timer.
I just placed Timer and Grid in an Update panel. In tick of  timer, binding
data to grid. When there is one module on a DNN page it works fine, but
when there are multiple such modules then it's not updating it.
     I don't get any error.

Thanks,
Madhav
If didn't yet, try to check the event viewer to find some more info about that error.
Or if you can, try to check if timer event is executed.
ASKER CERTIFIED SOLUTION
Avatar of madhav_ghatole
madhav_ghatole
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial