After a lot of frustration, I finally managed to get the ASP.Net templates I've been working on to allow you to edit the contents of the page in the designer. It was rather annoying having to edit in complete HTML, then go to the designer to drag and drop the necessary components onto the page, only to have to go back to the HTML to format everything.
It's not that I don't mind writing in a non-WYSIWYG editor. OSMusic.Net was done like that, no designer - or development environment for that matter - involved. I wanted to get out of that habit when using ASP.Net, but until I was able to get a designer template actually working the way I wanted to, I had no way of doing that.
How's this done? Well, if you're using Joe Agster's sample
, in the PageBody class (Or the PageBodyBase class if you are designing multiple templates), instead of <ParseChildren(False)>
, put <ParseChildren(False), System.ComponentModel.Designer(GetType(System.ComponentModel.Design.ComponentDesigner))>
there. That will allow you to be able to design your forms through the designer instead of having to rely solely on the HTML editor.