Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Hide panel in repeater
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hide panel in repeater

 Post Reply Post Reply
Author
Boecky View Drop Down
Groupie
Groupie
Avatar

Joined: 23 December 2002
Location: Belgium
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boecky Quote  Post ReplyReply Direct Link To This Post Topic: Hide panel in repeater
    Posted: 19 January 2004 at 3:42pm
I'm thinking how to hide a panel in a repeater with a button also in the repeater? Does anyone here know how? Here is a peace of code (sorry the code tag i forgot) to see what I mean:

<asp:Repeater id="Repeater1" runat="server">
 <ItemTemplate>
  <strong>
   <asp:Button id="Button1" runat="server" Text="Button"></asp:Button><br>
   <%# DataBinder.Eval(Container.DataItem, "Category") %>
  </strong>
  <br>
  <asp:Panel id="Panel1" runat="server">
   <asp:Repeater id="Repeater2" runat="server" datasource='<%# Container.DataItem.Row.GetChildRows("myrelation") %>'>
    <ItemTemplate>
     <%# Container.DataItem("title") %>
     <br>
    </ItemTemplate>
   </asp:Repeater>
  </asp:Panel><br>
  <br>
 </ItemTemplate>
</asp:Repeater>
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.