Can I control the sequence events are executed?

A

AAaron123

As I understand it, if I do not include AutoPostBack the events for say,
textBox1.TextChanged and textBox2.TextChanged will not occur until something
forces a post back. Like a button clicked.

Suppose it's important to me, that when the button is clicked, if the events
are to run, that textBox1.TextChanged runs before textBox2.TextChanged .

Or textBox1.TextChanged runs before button1.Click.


Can I control such things?


Thanks
 
B

bruce barker

no you can not predict or control the order. if they are interdependant,
then do the code in prerender, and set flags.

-- bruce (sqlwork.com)
 
A

AAaron123

OK.
Thanks
bruce barker said:
no you can not predict or control the order. if they are interdependant,
then do the code in prerender, and set flags.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top