AJAX
-
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)
-
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)
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 )
-
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 )
Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?
Stephen Lintott Bsc IT (RAU)
-
Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?
Stephen Lintott Bsc IT (RAU)
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
-
Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?
Stephen Lintott Bsc IT (RAU)
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)
-
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)
Have you checked your server side code - are you actually rebinding this properly, does the datasource get set correctly?
-
Have you checked your server side code - are you actually rebinding this properly, does the datasource get set correctly?
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)