Datalist content postback

Discussion in 'ASP .Net Web Controls' started by Russ, Feb 21, 2007.

  1. Russ

    Russ Guest

    Hi,

    Is it possible to get the entire HTML contents of a datalist <ItemTemplate>
    to respond to a postback?

    Currently I have <div> that surrounds all the data bound stuff and I'd like,
    in effect when the user clicks anywhere in this div to send a postback.

    I've tried surrounding the HTML with a linkbutton and a Hyperlink but no
    luck. I'm sure there's a simple way to acheive this but I'm completly
    blank right now.

    Thanks,
    Russ
     
    Russ, Feb 21, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gönen EREN

    Datalist in Datalist How?

    Gönen EREN, Aug 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    509
    Gönen EREN
    Aug 22, 2003
  2. acko bogicevic

    DataList in DataList

    acko bogicevic, Nov 10, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    5,796
    acko bogicevic
    Nov 11, 2003
  3. Steve Lloyd
    Replies:
    1
    Views:
    796
    Rick Spiewak
    May 26, 2004
  4. Nevyn Twyll
    Replies:
    8
    Views:
    2,304
  5. Luis Esteban Valencia
    Replies:
    1
    Views:
    627
    John Saunders
    Jan 6, 2005
  6. Steve
    Replies:
    0
    Views:
    3,244
    Steve
    Feb 1, 2005
  7. schapopa
    Replies:
    1
    Views:
    664
    schapopa
    Jan 12, 2006
  8. hazz
    Replies:
    6
    Views:
    51,819
    SkyUCHC
    Jun 9, 2010
Loading...