J
John Walker
Hi,
I have a question about the best way of managing how data is displayed on
the screen. Since ASP.NET allows forms to 'submit' only to themselves, how
does one go about managing which controls and text are displayed, based on
which action the user chooses. Say that I want every item on the form to no
longer show once the user clicks OK; is setting Visible property on those
controls the only way to do this. It's just an issue because some forms will
have many controls, and programming it so the Visible property of each one
will be False on 'OK' click (and then back to True again if the user clicks
the CANCEL button) can get tedious. Of course, with ASP(not dotnet), the
'submit' would go to a different page and the controls from the first page
would be gone - which would be what I want. Your input\suggestions is
greatly appreciated.
Thanks,
John
I have a question about the best way of managing how data is displayed on
the screen. Since ASP.NET allows forms to 'submit' only to themselves, how
does one go about managing which controls and text are displayed, based on
which action the user chooses. Say that I want every item on the form to no
longer show once the user clicks OK; is setting Visible property on those
controls the only way to do this. It's just an issue because some forms will
have many controls, and programming it so the Visible property of each one
will be False on 'OK' click (and then back to True again if the user clicks
the CANCEL button) can get tedious. Of course, with ASP(not dotnet), the
'submit' would go to a different page and the controls from the first page
would be gone - which would be what I want. Your input\suggestions is
greatly appreciated.
Thanks,
John