01-22-2007, 07:53 PM
How am I supposed to split a table using a master page,
when it should have open tags in the header section, which would close in the footer section, but .net 2005 doesn't let me compile?
Thanks in advance!
01-23-2007, 08:20 AM
From the first time you asked this...
My first thought is that you're thinking too much like classic ASP. You shouldn't need to have your opening and closing tags in different controls. In a MasterPage you should be able to put the entire outer table. Then in your controls just put content.
Why don't you try to tell us what you're doing. Maybe we can help. In .NET every control should be self contained. You shouldn't have to split tags.
01-23-2007, 08:41 AM
I want to leave my table tags open in the header and close it in the footer,
otherwise my formatting will be spoiled
01-23-2007, 08:48 AM
Why do you need separate Header and footer controls? Those should just be in your masterpage... If you really want the content in your Header control, just put the content there, not the table parts.
You may want to look at using <div> tags and CSS for your formatting. Tables are supposed to be used for tabular data only. They're not intended for formatting.