yusuf

yusuf

  • NA
  • 57
  • 0

About Hover Menu Extender

Sep 3 2009 11:10 AM
Hi all,

I have a DataList Control and shows some products, and i keep the ID of these products  in a commandargument of linkbutton which is inside of repeater control.

What i want to do is, when mouse is on one of these products, i want to show more details of it. Here is my code:

  <asp:Panel ID="SatilikIcerikPanel" runat="server" CssClass="accordionContent">
       
        <asp:DataList ID="DataList1" runat="server" RepeatColumns="4">
            <ItemTemplate>
           
                    <asp:Image ID="Image1" runat="server" Width="100" Height="100" ImageUrl='<%# Eval("ResimYolu") %>' />
                    <br />
                    <%# Eval("Ilce1") %><br />
                    <%# Eval("SemtAdi") %>
                    <br />
                    Cins:
                    <%# Eval("CinsAdi") %>
                    <br />
                    Fiyati:
                    <%# Eval("Fiyati") %>
                    <%#Eval("ParaCinsAdi") %>
                    <br />
                    <asp:LinkButton ID="btnDetayGoster" runat="server" OnClick="btnDetayGoster_Click"
                        CommandArgument='<%#Eval("EmlakID")%>'>Detay</asp:LinkButton>
            
             <cc1:HoverMenuExtender ID="HoverMenuExtender1"
     runat="server"
      TargetControlID="btnDetayGoster"
       PopupControlID="PanelSatilik"
        PopupPosition="Right"
         PopDelay="25"
          HoverCssClass="PopupHover"
     >
    </cc1:HoverMenuExtender>
            </ItemTemplate>
        </asp:DataList>
    </asp:Panel>

and this is the panel i want to be shown. But its empty. How can i fill this to do my goal? How can i take the ID so that i can show details of it inside this panel?

    <asp:Panel ID="PanelSatilik" runat="server">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            </ContentTemplate>
            </asp:UpdatePanel>
                   </asp:Panel>

Thanks.

Answers (1)