Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. AJAX

AJAX

Scheduled Pinned Locked Moved ASP.NET
help
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stephen Lintott
    wrote on last edited by
    #1

    Hi all. ajax is giving me heart burn again and I was wondering if somebody could help. I've got a treeview in an updatepanel conected to a timer. This is supposed to rebuild the treeview every minute or so. All good sofar right... Wrong The treeview does not show up after the rebuild. Can someone tell me why this is happening.

    Stephen Lintott Bsc IT (RAU)

    C 1 Reply Last reply
    0
    • S Stephen Lintott

      Hi all. ajax is giving me heart burn again and I was wondering if somebody could help. I've got a treeview in an updatepanel conected to a timer. This is supposed to rebuild the treeview every minute or so. All good sofar right... Wrong The treeview does not show up after the rebuild. Can someone tell me why this is happening.

      Stephen Lintott Bsc IT (RAU)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If you test with Firefox/Firebug, you can step into the code and see what is happening. I don't like the ASP.NET AJAX library because it leaves you with issues like that, I prefer to actually use AJAX.

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      S 1 Reply Last reply
      0
      • C Christian Graus

        If you test with Firefox/Firebug, you can step into the code and see what is happening. I don't like the ASP.NET AJAX library because it leaves you with issues like that, I prefer to actually use AJAX.

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        S Offline
        S Offline
        Stephen Lintott
        wrote on last edited by
        #3

        Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?

        Stephen Lintott Bsc IT (RAU)

        C S 2 Replies Last reply
        0
        • S Stephen Lintott

          Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?

          Stephen Lintott Bsc IT (RAU)

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          Stephen Lintott wrote:

          Are you thinking that this is a ie problem?

          I think it was that FireFox is easier to use for debugging.

          *Developer Day Scotland - Free community conference Delegate Registration Open

          1 Reply Last reply
          0
          • S Stephen Lintott

            Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?

            Stephen Lintott Bsc IT (RAU)

            S Offline
            S Offline
            Stephen Lintott
            wrote on last edited by
            #5

            Just fininshed testing between 10 other things and its still breaking the same way as in ie. Nothing comes up in the error console so I have no idea where to go from here.

            Stephen Lintott Bsc IT (RAU)

            P 1 Reply Last reply
            0
            • S Stephen Lintott

              Just fininshed testing between 10 other things and its still breaking the same way as in ie. Nothing comes up in the error console so I have no idea where to go from here.

              Stephen Lintott Bsc IT (RAU)

              P Offline
              P Offline
              Paddy Boyd
              wrote on last edited by
              #6

              Have you checked your server side code - are you actually rebinding this properly, does the datasource get set correctly?

              S 1 Reply Last reply
              0
              • P Paddy Boyd

                Have you checked your server side code - are you actually rebinding this properly, does the datasource get set correctly?

                S Offline
                S Offline
                Stephen Lintott
                wrote on last edited by
                #7

                Yip. Here is waht happens. The treeview builds fine the first time when the page is loaded. Then when the timer fires the treeview dissapears. Same code is used for both the Page_Load event and the Tick event. My logic tells me that it is not the code it is something else

                Stephen Lintott Bsc IT (RAU)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups