How to Raise Event in Datalist for Embed control Urgent

Last post 07-03-2009 1:13 PM by akhhttar. 1 replies.

Sort Posts:

  • How to Raise Event in Datalist for Embed control Urgent

    07-03-2009, 1:17 AM
    • Member
      567 point Member
    • shashikantht
    • Member since 11-02-2007, 11:55 AM
    • Posts 167

    Hi Friends

                       In am developing my project in asp.net 2.0 version using c#.I need to display ads which are in flash file format and to do this I am using datalist and places embed in Itemtemplate.I am binding data to the datalist.

                   Now I need to count the users hits on a each ads,so that I need to raise the event when the user clicks on the flash file..I tried with Item-command event but it didnot work as I have embed .


                Please give me suggestions for this problem.


    Happy Programming



    Shashi.
  • Re: How to Raise Event in Datalist for Embed control Urgent

    07-03-2009, 1:13 PM
    Answer
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 3:17 AM
    • Pakistan - Lahore
    • Posts 352

    Hi,

    Handle Client side OnClick event of embeded resource and send an AJAX request to server to update click counter.

    Thanks

    Muhammad Akhtar Shiekh


    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
Page 1 of 1 (2 items)