Q
Quickstone
Hi Andre.
I've tried a sample using your description. You said that
when you typed in something into the textbox with
AutoPostBack = True, and pressed a button the Page_Load,
TextChanged, Button.Click occurred. How is that possible?
Are you sure you didn't change the text in one of the
textboxes what did not have the AutoPostBack=True?
The reason why I'm questioning this (and I tried it my
self), is that when you change anything in the textbox
(containing the AutoPostback=true) and as soon as click
away from there (doesn't matter what button you press on
the form), the only event that will be raised is the
Textbox change (so despite that you clicked on your
button, it will never be raised) - rules of JavaScript.
I tried this my self, and I did a Code stepthrough with
VS.NET 2003 debugger and works like I expected.
If you are having this problem like you are saying, I
would like to know more what exactly you are doing, so
that I can possibly help you. Post some code here for us
to see, and maybe there is a problem that is deeper than
that.
Hope that helps
I've tried a sample using your description. You said that
when you typed in something into the textbox with
AutoPostBack = True, and pressed a button the Page_Load,
TextChanged, Button.Click occurred. How is that possible?
Are you sure you didn't change the text in one of the
textboxes what did not have the AutoPostBack=True?
The reason why I'm questioning this (and I tried it my
self), is that when you change anything in the textbox
(containing the AutoPostback=true) and as soon as click
away from there (doesn't matter what button you press on
the form), the only event that will be raised is the
Textbox change (so despite that you clicked on your
button, it will never be raised) - rules of JavaScript.
I tried this my self, and I did a Code stepthrough with
VS.NET 2003 debugger and works like I expected.
If you are having this problem like you are saying, I
would like to know more what exactly you are doing, so
that I can possibly help you. Post some code here for us
to see, and maybe there is a problem that is deeper than
that.
Hope that helps