I don't know what you mean...a PlaceHolder can have any type of control
inside of it. Here is a code snippet where I use a place holder and it
works perfectly...in fact....i have place holders embedded inside of
placeholders. I have a repeater and my custom controls in a placeholder. I
have placeholders inside the repeater which is inside another placeholder,
etc, etc. This page builds a grid view of images in 3 columns where the
bottom row may have 1 to 3 cells, so on the OnItemDataBound of the repeater
I Mod the itemindex to decide whether or not I start or end <tr> tags....
~PJ
<b2b:browsetree id="bt" runat="server" cssclass="browsetree" />
<div class="browse">
<br /><br />
<asp

laceholder id="main" runat="server">
<asp:label id="mainText" runat="server"></asp:label>
</asp

laceholder>
<asp

laceholder id="grid" runat="server" visible="false">
<asp:dropdownlist id="ddlFolder" runat="server" autopostback="True"
width="177px" style="margin-bottom:10px;margin-left:0px"></asp:dropdownlist>
<pwc

ager id="pagerTop" runat="server"
style="height:20px;width:360px;text-align:right"/>
<table width="540px" cellpadding="2" cellspacing="0" border="0"
style="border:1px solid #3366ff">
<asp:repeater id="rptMain" runat="server">
<itemtemplate>
<asp

laceholder id="rowBegin" runat="server"><tr style="height:180px"
valign="middle"></asp

laceholder>
<td width="33%" align="center">
<asp:imagebutton id="btnImgSlide" runat="server"></asp:imagebutton>
<span id="spanSlide" runat="server"
style="background-image:url(/b2b/images/layout/slide.gif);height:128px;width
:128px;padding-top:55px">
<asp:linkbutton id="btnLinkSlide" runat="server"
forecolor="black"></asp:linkbutton></span></td>
<asp

laceholder id="rowEnd" runat="server"></tr></asp

laceholder>
</itemtemplate>
</asp:repeater>
<asp

laceholder id="fillOneCell"
runat="server"><td> </td></asp

laceholder><asp

laceholder
id="fillTwoCell" runat="server"><td> </td></asp

laceholder>
</table>
</asp

laceholder>
</div>
"Jerad Rose" <> wrote in message
news:%...
> > I use the PlaceHolder around <tr> elements all the time.
>
> It's not the <tr> elements that the PlaceHolder is having problems with --
> it's the server controls that are within my <tr> elements that the
> PlaceHolder doesn't support. Like I said, I need something that will
allow
> both embedded HTML _and_ server controls.
>
> Thanks for your reply, but it doesn't seem like a PlaceHolder is going to
> work with this situation.
>
> "PJ" <> wrote in message
> news:uJD%...
> > I use the PlaceHolder around <tr> elements all the time. This might not
> > work if you are using an asp table object, but if you are, don't....it's
> > uncessary overhead. Also, maybe it's giving you an error in design
view,
> > but if it is...don't use design view, use HTML view.
> >
> > ~PJ
> >
> > "Jerad Rose" <> wrote in message
> > news:...
> > > I searched for a while trying to find the answer to this, but to no
> avail.
> > >
> > > I am trying to find the best way (or any way) to dynamically show and
> hide
> > > groups of TR's. For example, I have a section of about 6 table rows
> that
> > > all need to be hidden if a certain condition is met. But I don't want
> to
> > > hide the whole table. And, I don't want to split up the table because
> the
> > > columns need to remain intact.
> > >
> > > I thought about using runat=server on each of the TR's, and just
hiding
> > them
> > > each individually, but that just seems really sloppy, and I thought
> there
> > > had to be a better way to do it. I really need some sort of HTML-less
> > > container that can serve as a wrapper for the TR's without rendering
any
> > > additional HTML.
> > >
> > > An asp
laceHolder would be perfect since it doesn't render any
> additional
> > > HTML, but it doesn't allow any other nested server controls at design
> time
> > > (which seems silly). And an asp
anel can wrap around any HTML or
> server
> > > controls, but it renders HTML (div in IE and table in Netscape --
which
> > > really hoses the HTML). And a <span runat=server> doesn't like nested
> > TR's.
> > >
> > > I just need some "wrapper" server control that can contain anything
> (HTML
> > > and Server controls) without rendering ANY HTML on any browser. Seems
> > like
> > > this would be widely used (and needed) feature, but I haven't had much
> > luck
> > > finding such a thing.
> > >
> > > Any suggestions would be appreciated.
> > >
> > > Thanks in advance for your help!
> > > Jerad
> > >
> > >
> >
> >
>
>