D
David
I attempted the following
<div id="div" runat="server">
<tr><td></td></tr>
<tr><td></td></tr>
</div>
This is to hide a group of rows depending on some business rules in my code
behind.
It works. BUT.
When I go back to the aspx page, VS.NET has f*d it up by inserting the
</div> tag.
<div id="div" runat="server"></div>
<tr><td></td></tr>
<tr><td></td></tr>
<div></div>
Note to Microsoft. DO NOT EVER DO ME A FAVOR. NEVER ASKED FOR IT, SO
PLEEEEEESE.
Sorry... just had to get it off the chest. Obvously the editor does not
like what it sees and it "corrects" what it does not like. What do you
advise? I have a table with a bunch of rows that encapsulate fields. Under
certain business rules, I would like to hide a group of rows. I suppose I
could do this row by row, but that is a lot of work...
<div id="div" runat="server">
<tr><td></td></tr>
<tr><td></td></tr>
</div>
This is to hide a group of rows depending on some business rules in my code
behind.
It works. BUT.
When I go back to the aspx page, VS.NET has f*d it up by inserting the
</div> tag.
<div id="div" runat="server"></div>
<tr><td></td></tr>
<tr><td></td></tr>
<div></div>
Note to Microsoft. DO NOT EVER DO ME A FAVOR. NEVER ASKED FOR IT, SO
PLEEEEEESE.
Sorry... just had to get it off the chest. Obvously the editor does not
like what it sees and it "corrects" what it does not like. What do you
advise? I have a table with a bunch of rows that encapsulate fields. Under
certain business rules, I would like to hide a group of rows. I suppose I
could do this row by row, but that is a lot of work...