P
Peter
I have the following code in DonNetNuke application, I am trying to create a
popup in every DataList Item, eveything is working with exception the popups
do not line up with every DataItem. How do I make the popups to line up
with every DataItem?
Thank You
Peter
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<aspataList ID="lstContent" DataKeyField="ItemID" runat="server"
CellPadding="4"
OnItemDataBound="lstContent_ItemDataBound">
<ItemTemplate>
<table cellpadding="4" width="100%">
<tr>
<td valign="top" width="100%" align="left">
<asp:Image ID="imgJob" runat="server"
ImageUrl="" Height="36px" Width="42px" />
<asp:HyperLink ID="HyperLink1" NavigateUrl='<%#
EditUrl("ItemID",((int)DataBinder.Eval(Container.DataItem,"ItemID")).ToString())
%>'
Visible="<%# IsEditable %>" runat="server">
<asp:Image ID="Image1" runat="server"
ImageUrl="~/images/edit.gif" AlternateText="Edit"
Visible="<%# IsEditable%>"
resourcekey="Edit" />
</asp:HyperLink>
<asp:Label ID="lblContent" Font-Size="12pt"
ForeColor="Blue" runat="server" />
--> Start Time '<%#
DataBinder.Eval(Container.DataItem,"StartTime") %>'
<span id="InstanceID"
style="display: none">Report ID '<%#
DataBinder.Eval(Container.DataItem, "InstanceID")%>'
</span>
<div>
<cc1:HoverMenuExtender
ID="HoverMenuExtender1" runat="server" TargetControlID="imgJob"
PopupControlID="pnlReportInfo"
PopupPosition="Right" PopDelay="25" OffsetY="50"
OffsetX="10">
</cc1:HoverMenuExtender>
<aspanel ID="pnlReportInfo" runat="server"
Width="200px" BackColor="Azure">
<asp:Image ID="Image3" runat="server"
ImageUrl="~/images/balloon-1.png" />
</aspanel>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</aspataList>
<br />
<asp:Button ID="Button1" runat="server" Text="Button"
OnClick="Button1_Click" />
<asp:Timer ID="Timer1" runat="server" Interval="10000"
OnTick="Timer1_Tick">
</asp:Timer>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
popup in every DataList Item, eveything is working with exception the popups
do not line up with every DataItem. How do I make the popups to line up
with every DataItem?
Thank You
Peter
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<aspataList ID="lstContent" DataKeyField="ItemID" runat="server"
CellPadding="4"
OnItemDataBound="lstContent_ItemDataBound">
<ItemTemplate>
<table cellpadding="4" width="100%">
<tr>
<td valign="top" width="100%" align="left">
<asp:Image ID="imgJob" runat="server"
ImageUrl="" Height="36px" Width="42px" />
<asp:HyperLink ID="HyperLink1" NavigateUrl='<%#
EditUrl("ItemID",((int)DataBinder.Eval(Container.DataItem,"ItemID")).ToString())
%>'
Visible="<%# IsEditable %>" runat="server">
<asp:Image ID="Image1" runat="server"
ImageUrl="~/images/edit.gif" AlternateText="Edit"
Visible="<%# IsEditable%>"
resourcekey="Edit" />
</asp:HyperLink>
<asp:Label ID="lblContent" Font-Size="12pt"
ForeColor="Blue" runat="server" />
--> Start Time '<%#
DataBinder.Eval(Container.DataItem,"StartTime") %>'
<span id="InstanceID"
style="display: none">Report ID '<%#
DataBinder.Eval(Container.DataItem, "InstanceID")%>'
</span>
<div>
<cc1:HoverMenuExtender
ID="HoverMenuExtender1" runat="server" TargetControlID="imgJob"
PopupControlID="pnlReportInfo"
PopupPosition="Right" PopDelay="25" OffsetY="50"
OffsetX="10">
</cc1:HoverMenuExtender>
<aspanel ID="pnlReportInfo" runat="server"
Width="200px" BackColor="Azure">
<asp:Image ID="Image3" runat="server"
ImageUrl="~/images/balloon-1.png" />
</aspanel>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</aspataList>
<br />
<asp:Button ID="Button1" runat="server" Text="Button"
OnClick="Button1_Click" />
<asp:Timer ID="Timer1" runat="server" Interval="10000"
OnTick="Timer1_Tick">
</asp:Timer>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>