Opinions please
-
Hello All, As one who hasn't done too much with ASP.NET, I was wondering, if any of you would like, if the following is a good logical step to a situation I have: I have a web form that I will repost with a click of a button. But, want a different panel to show depending on the button pushed. Should I set some sort of variable in the code behind in the button_click event and then check that variable in the "if (ispostback)" flow? Or is there an easier more logical way of doing this. Any comments are welcome.
-
Hello All, As one who hasn't done too much with ASP.NET, I was wondering, if any of you would like, if the following is a good logical step to a situation I have: I have a web form that I will repost with a click of a button. But, want a different panel to show depending on the button pushed. Should I set some sort of variable in the code behind in the button_click event and then check that variable in the "if (ispostback)" flow? Or is there an easier more logical way of doing this. Any comments are welcome.
Just change the visibility of your panels or multiview in the button_click event. Or call a function with the visibility logic if you prefer that.
-
Just change the visibility of your panels or multiview in the button_click event. Or call a function with the visibility logic if you prefer that.