Search:
Type: Posts; User: TechnoGilles
Search:
Search took 0.02 seconds.
-
No mystery ? Obviously !! ... All I'm saying is that the day you need to add a LinkButton in that page for whatever reason, in your case, you'll have to refactor the code somehow. In my case you...
-
Ok. That rules out that potential problem.
So once you are in the handler, you try to change some control properties, right ? What happens exactly ?
Perhaps you should post some code we can...
-
Hum... Parsing through the Controls is somewhat dangerous. You never know what you'll find... What if other LinkButtons are also present in the page ? You'll be shooting at flies with the intent of...
-
Well, the premice is simple : in a user event (a key down in my case), I stop a timer, and put back some members to null. From this point, I expect that no more tick events will occur (cause members...
-
And if you don't want to do the parsing of the Controls, a simple member variable that keeps a reference on the currently selected button would do the job. On a click, just disable the old button and...
-
After re-reading your posts, and just to be sure we're talking the same way, here's a recap of events :
class A
{
public delegate void MyHandler(object data); // Or whatever prototype you...
-
Who exactly is invoking "the upd port" event you are talking about ? How can you be sure it is not coming from another thread ? As a quick test, in your handler, simply call the InvokeRequired...
-
It looks like your handler is invoked from a thread that is NOT the thread on which the controls you are trying to modify were created.
Controls can only be accessed from within the tread that was...
-
Hi,
Does anyone know if pending Timer.Tick events (already in the message queue) are removed upon a Timer.Enabled = false or if they might still arrive after ?
(talking about...
|
Click Here to Expand Forum to Full Width
|