0

Hi,

I have this question about the control triggers, I have this project that have textbox, using it's textChanged function and setting the autopostback in to true.

Now, when I trace the command I have notice that the function have been triggered twice, and I just want to know now
how that happens and how I can set this to trigger only once.

Thanks,
JButardo

Edited by jbutardo

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by |-|x
1

Are you typing into this textbox or setting it programatically? If typing, then the event would be triggered for every key press, and thus you will experience multiple successive postbacks.

If any other function/event occuring is changing the text in code on PostBack, it could be triggering an additional postback from that event as well.

Just food for thought.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.