Auto refresh spoilt by TreeView

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QW1pciBUb2hpZGk=?=

    Auto refresh spoilt by TreeView

    Hi

    I have a web page that has a TreeView on it. If I DONT'T expand the TreeView
    nodes, the auto refresh works nicely: my page gets refreshed every minute. As
    soon as I expand a node on the TreeView, the page stops auto-refreshing.

    Any ideas why this is happening?

    I have acheived auto refresh using the following:

    HtmlMeta meta = new HtmlMeta();
    meta.HttpEquiv = "refresh";
    meta.Content = ConfigurationMa nager.AppSettin gs["RefreshFrequen cy"];
    Page.Header.Con trols.Add(meta) ;



  • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

    #2
    RE: Auto refresh spoilt by TreeView

    you proably have the tree control postback on expand, and do not setup the
    refresh code on the postback.

    -- bruce (sqlwork.com)


    "Amir Tohidi" wrote:
    Hi
    >
    I have a web page that has a TreeView on it. If I DONT'T expand the TreeView
    nodes, the auto refresh works nicely: my page gets refreshed every minute. As
    soon as I expand a node on the TreeView, the page stops auto-refreshing.
    >
    Any ideas why this is happening?
    >
    I have acheived auto refresh using the following:
    >
    HtmlMeta meta = new HtmlMeta();
    meta.HttpEquiv = "refresh";
    meta.Content = ConfigurationMa nager.AppSettin gs["RefreshFrequen cy"];
    Page.Header.Con trols.Add(meta) ;
    >
    >
    >

    Comment

    • =?Utf-8?B?QW1pciBUb2hpZGk=?=

      #3
      RE: Auto refresh spoilt by TreeView

      Hi Bruce

      Thanks for the suggestion. I had already suspected it might be due to this
      but there is no postback on my node clicks.

      Amir

      "bruce barker" wrote:
      you proably have the tree control postback on expand, and do not setup the
      refresh code on the postback.
      >
      -- bruce (sqlwork.com)
      >
      >
      "Amir Tohidi" wrote:
      >
      Hi

      I have a web page that has a TreeView on it. If I DONT'T expand the TreeView
      nodes, the auto refresh works nicely: my page gets refreshed every minute. As
      soon as I expand a node on the TreeView, the page stops auto-refreshing.

      Any ideas why this is happening?

      I have acheived auto refresh using the following:

      HtmlMeta meta = new HtmlMeta();
      meta.HttpEquiv = "refresh";
      meta.Content = ConfigurationMa nager.AppSettin gs["RefreshFrequen cy"];
      Page.Header.Con trols.Add(meta) ;

      Comment

      Working...