Do you mean the protected member variable right? The behaviour you're
looking for is in the HTML Table (look in the Toolbox for HTML controls not
Web Forms tabs), creating such a table will create the corresponding HTML
markup, you can then right click on the table itself or any cell and select
"Run As Server Control", this will cause VS.NET to add a runat='server'
attribute to the corresponding markup and create a matching member variable
in your codebehind file for the table or cell.
Does this help?
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Read my weblog:
Followers of the IHttpHandler
http://clariusconsulting.net/vga
"Gürkan Demirci" <fa********@host.de> wrote in message
news:e4**************@tk2msftngp13.phx.gbl...
Hi,
i am using the VisualStudio FormDesigner to create an asp:table.
I want to populate an asp:tablecell with different controls at runtime.
In the codebehind file, there is an attribute for the asp:table. I can use
this to
access the tablerow and tablecell objects. It would be more convenient to
access a tablecell through
a class-attribute. Why is VisualStudio not creating an attribute for
tablerow or tablecell ?
regards,
guerkan