I've been trying to use Multiviews as described in the Beginning ASP.NET 2.0 book. These worked really well and I could flip between 3 views on a single page depending on the VB
.NET code behind the page.
That was until I added a textbox with a postback function. The textbox is there to accept a text string from a barcode scanner, that includes an implicit Enter on input.
Now that the control posts back my views are reset. Presumebly because the page_load event, or some other event is being called a second time and my default first view is left on the page.
Is there any way that I can trap this so that I can force the alternate view to be displayed after the postback?
Many thanks in advance....