Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autopoastback wont fire 1

Status
Not open for further replies.

staleb

Programmer
Feb 7, 2005
45
NO
Hi

I have several textboxes that autopostaback = true.
When the user write something in it works fine.
But as soons as I ("the application") sets the value the postback will not fire:
Example: in my program u registrer new orders with an orderID. When I the user save the order the applivation will automatilly find the next nummber for u.
But now the postback wont fire


The postback on this textbox is to check if the order allready is registrered.

Does anyone have an idea?
 
Only the client-side page itself can trigger a postback, since it's the only actual webpage. This is the desired behaviour for postbacks - if changing values in code caused postbacks, you'd end up with infinite loops.
So, you'll have to explicitly call the sub that checks your order registration.
 
Hi

Offcourse, I should have figured that out.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top