thank you very much; it's working but now I have another problem:
my c# code looks like this, and if you want I can post my html /asp source.
protected void Timer1_Tick(object sender, EventArgs e)
{
RetriveData();
}
private void RetriveData()
{
WSMonitor.BAL.DataWrapper wrapper = new WSMonitor.BAL.DataWrapper((PortalModuleBase)this);
string sql = "SELECT top 10 table_name, column_name FROM information_schema.columns order by newid()";
DataSet data = wrapper.SelectCurrentPortal(sql);
GridView2.DataSource = data;
GridView2.DataBind();
}
protected void Page_Load(System.Object sender, System.EventArgs e)
{
if (DotNetNuke.Framework.AJAX.IsInstalled())
{
DotNetNuke.Framework.AJAX.RegisterScriptManager();
}
if (!Page.IsPostBack)
{
RetriveData();
}
}
if I have only one module on the page, this code is running fine and I am getting data back every 2 seconds, as soon as I add the same module to another pane or another instance to the same pane, the code is stop working for one module but it still works for another; in the nutshell it works only if I have only one module; looks like that script manager can update only one module; is it possible to force the script manager to manage / update multple controls? in my case I need to have 4 modules on the page and every module/control should be able to use ajax to refresh it self with different refresh interval.