Table cell with images

Discussion in 'ASP .Net Web Controls' started by Seema Multani, Aug 9, 2006.

  1. I want my cell to be clicable. The cell contanis an image. I am doing in
    the following way but it is not working.

    tCell.Attributes.Add("onclick", "floor_plan.gif")

    Thanks,
    Seema Multani, Aug 9, 2006
    #1
    1. Advertising

  2. Seema Multani

    marss Guest

    Seema Multani напиÑав:
    > I want my cell to be clicable. The cell contanis an image. I am doing in
    > the following way but it is not working.
    >
    > tCell.Attributes.Add("onclick", "floor_plan.gif")
    >
    > Thanks,


    Try this

    tCell.Attributes.Add("onclick",
    "window.open('floor_plan.gif','new_popup','height=400,width=400')")


    And look for javascript handbook :)
    marss, Aug 10, 2006
    #2
    1. Advertising

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. Mark Goldin

    Table in a cell of another table

    Mark Goldin, Aug 19, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    317
    Mark Goldin
    Aug 19, 2004
  2. Phillip Roncoroni
    Replies:
    14
    Views:
    1,071
    Toby A Inkster
    Apr 5, 2004
  3. sdf
    Replies:
    3
    Views:
    1,877
  4. Symphony

    add hyber link to table or table cell web control

    Symphony, Mar 15, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    375
    Ken Cox [Microsoft MVP]
    Mar 16, 2005
  5. Replies:
    7
    Views:
    187
    Lasse Reichstein Nielsen
    Jul 11, 2005
Loading...

Share This Page