Hi. This is my first post here.
I use .net 2.0
Here is what Im trying to do.
I wan't an errorbox on my web.page to be updated from anywhere in the code - current web.page, usercontrols or app_Code class.
I want the errorBox to be called (callback) with a event from my log class that has a static function.
The errorBox is a Div that is hidden and then shown when the event is received from the log class.
The problem is that when the event is recieves to the web.page and I set errorBox.visible=true, nothing happends?
I have tried with two scenarios.
A. I have the delegate and event working and the page recieves the event as expected, but when the div is set to errorBox.visible=true, nothing happends? The div is not shown on client.
B. I have tried to call the errorBox.visible=true directly from the page and then it works. The Div is shown on client.
In the debugger I can see one difference.
In A the < ...
Go to the complete details ...