Welcome! and rules
Joel on Software
One more ASP.Net control question
This one will be real easy - or so it seems:
I just found something strange: if you add an HTML control
Yet another reason? What the heck? Maybe "yet anothe reason" not to use VS.NET's wysiwyg web forms designer, but the controls in general are a godsend, both the webcontrols and the htmlcontrols... inerhit and improve where necessary.
I'm pretty sure that HTML controls show up in codebehind as soon as you switch them to runat="server" in VS.NET, at least with the VB.NET web forms designer.
Hehe Ive been doing ASP.net for about a year now and I've noticed that it really depends on if your in design view or HTML view when your adding and removing your controls. I find the designer does some funky stuff, especially with shifting around the way you lay out your html..
>I'm pretty sure that HTML controls show up in codebehind >as soon as you switch them to runat="server" in VS.NET,
I've always converted an HTML control to a server-side control in VS.NET by right clicking on it in design view and selecting 'run as server control'; maybe that handles creating the control in codebehind automagically.
Fog Creek Home