Jul 15, 2008 09:15 AM|waleefi|LINK
not in the code behind file so that it can be edited easily, sure, I can use an inline server script block but this is something I don't really want to do, I prefer to keep my code in a code behind file. Well, I think I found a nice way though, there's a control
in ASP.NET 2.0 called MultiView which I never came across before, it allows you to define multiple views with only one view visible at a time, so, I could put the controls needed for adding the forum post in one view and the success notification message in
another view and I could also add another view for the error message in case something goes wrong, what a brilliant control! just exactly what I wanted!