there are children here is the html
if i dont use any jqury i see the children
the hide() function make them invisible
the show is not working
-
<body>
<form id="form1" runat="server">
<asp:Repeater ID="RepeaterOut" runat="server" DataSourceID="SqlDataSource1">
<HeaderTemplate>
<ul class="outerUL">
</HeaderTemplate>
<ItemTemplate>
<asp:HiddenField ID="hdfCatID" runat="server" Value='<%# Eval("CategoryID") %>' />
<li ><a href="#"> <%#Eval("CategoryName")%></a></li>
<asp:Repeater ID="RepeaterIn" runat="server" DataSourceID="SqlDataSource2">
<HeaderTemplate>
<ul class="innerUL">
</HeaderTemplate>
<ItemTemplate>
<li><a href="#"> <%# EVAL("ProductName") %></a></li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:NORTHWNDConnectionString %>"
SelectCommand="SELECT [ProductName] FROM [Products] WHERE [CategoryID] = @CategoryID">
<SelectParameters>
<asp:ControlParameter ControlID="hdfCatID" Name="CategoryID" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NORTHWNDConnectionString %>"
SelectCommand="SELECT DISTINCT [CategoryID], [CategoryName] FROM [Categories]"></asp:SqlDataSource>
</form>
</body>