B
BillE
I have a web form which has dynamic controls for order entry, (item
selected, #,etc.) which are wired to an event handler which fires when the
dynamic controls content changes.
These controls have to be recreated on the Page_Init for the events to fire.
The content of the controls is based on the current CustomerID, and the
order data entered is linked to the customerID.
If the user selects a customer, the customer ID needs to be available to the
Page_Init event when the page is posted back.
How can I pass the CustomerID to the Page_Init event? It looks like the
Viewstate isn't available yet on the Page_Init event, and if I use Session
variables then I will have problems if the user ever opens new windows with
Ctrl-N.
I sure would appreciate some input on this one.
Thanks
Bill
selected, #,etc.) which are wired to an event handler which fires when the
dynamic controls content changes.
These controls have to be recreated on the Page_Init for the events to fire.
The content of the controls is based on the current CustomerID, and the
order data entered is linked to the customerID.
If the user selects a customer, the customer ID needs to be available to the
Page_Init event when the page is posted back.
How can I pass the CustomerID to the Page_Init event? It looks like the
Viewstate isn't available yet on the Page_Init event, and if I use Session
variables then I will have problems if the user ever opens new windows with
Ctrl-N.
I sure would appreciate some input on this one.
Thanks
Bill