• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 713
  • Last Modified:

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
0
madhav_ghatole
Asked:
madhav_ghatole
  • 2
1 Solution
 
tovvenkiCommented:
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
0
 
madhav_ghatoleAuthor Commented:
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
0
 
paololabeCommented:
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.
0
 
madhav_ghatoleAuthor Commented:
Hi, we have done it by inter module communication in DNN. Where we use only one timer and refresh all other gridview data periodically.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now