?
Solved

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

Posted on 2009-12-24
4
Medium Priority
?
703 Views
Last Modified: 2012-05-08
 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
Comment
Question by:madhav_ghatole
  • 2
4 Comments
 
LVL 21

Expert Comment

by:tovvenki
ID: 26121695
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
 

Author Comment

by:madhav_ghatole
ID: 26129729
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
 
LVL 8

Expert Comment

by:paololabe
ID: 26331073
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
 

Accepted Solution

by:
madhav_ghatole earned 0 total points
ID: 26426912
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question