Hi.
I'm writing a special Banner module. Basic idea of my module is to show hiperlink in
DataList web control. The code is below:
<asp:DataList ID="DataList1" runat="server" Width="100%" >
<ItemStyle HorizontalAlign="Center" Width="100%" BorderColor="#000000">
</ItemStyle>
<ItemTemplate>
<asp:HyperLink runat="server"
ImageUrl = '<%# DataBinder.Eval(Container.DataItem,"IMAGE") %>'
NavigateUrl ='<%# DataBinder.Eval(Container.DataItem,"URL") %>'>
</asp:HyperLink>
</ItemTemplate>
</asp:DataList>
The whole list of hiper links is displayed correctly but there is one problem that I
can't resolve.
After show banners functionality I began writing statistic
functionality.
The pages, to which the "URL" goes, can open in two ways.
1.Left click button.
2.Right click and select Open page in new window.
How can I catch these events to change my visit statistic?