asp:Table vs. an HTML table
-
What the advantages of one over the other when I'm programing a page? I understand that when the page is run it will change all the asp:Table, asp:TableRow, and asp:TableCell into their HTML counterparts so why not just use the counter parts? I understand most of the other asp:components and why they are better but I can't find a reason for asp:Table. So far I've noticed: I can't use Height and Width on the CSS versions I can't edit my cell contents in Design View I can't set a background image on the fly (I currently am using a CSS file but it seems a waste since all it has in it is repeating backgrounds and each class is only used once) Please tell me what I'm missing, what advantages I could gain, or if I should just start using the basic HTML table. Thanks for any help.
-
What the advantages of one over the other when I'm programing a page? I understand that when the page is run it will change all the asp:Table, asp:TableRow, and asp:TableCell into their HTML counterparts so why not just use the counter parts? I understand most of the other asp:components and why they are better but I can't find a reason for asp:Table. So far I've noticed: I can't use Height and Width on the CSS versions I can't edit my cell contents in Design View I can't set a background image on the fly (I currently am using a CSS file but it seems a waste since all it has in it is repeating backgrounds and each class is only used once) Please tell me what I'm missing, what advantages I could gain, or if I should just start using the basic HTML table. Thanks for any help.
The advantage is runat="server", which of course treats it as any other serve control to use, and abuse, as necessary with your code behide. I don't understand the problems you are having with CSS, it is applied on the client side after the control has been rendered to appropriate HTML.
only two letters away from being an asset
-
The advantage is runat="server", which of course treats it as any other serve control to use, and abuse, as necessary with your code behide. I don't understand the problems you are having with CSS, it is applied on the client side after the control has been rendered to appropriate HTML.
only two letters away from being an asset
The CSS issues aren't that big of deal but why can I edit my cell contents in design view?