Doubleclick event in DataView

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Zopers

    Doubleclick event in DataView

    Hello,

    I have a html table and each row in it shows a record. Below the table
    there is an asp:button. When the user clicks on the button, a form is
    openened where the user can view or edit the selected row/record in the
    table.

    It should also be possible for a user to doubleclick on a row, this
    should have the same effect as selecting a row and clicking the edit
    button.

    From client side / javascript this is easy to accomplish, but I would
    like to do this without javascript/client-side script.

    So I have a html table (may be changed to a DataView if that's easier),
    and an asp:button. Is there a way to do this without javascript?

    Greetings,
    Chris

    *** Sent via Developersdex http://www.developersdex.com ***
  • Michael Nemtsev [MVP]

    #2
    Re: Doubleclick event in DataView

    Hello Chris,

    see sample there http://aspadvice.com/blogs/joteke/ar.../07/14576.aspx
    but using javascript is rather elegant way

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    CZHello,
    CZ>
    CZI have a html table and each row in it shows a record. Below the
    CZtable there is an asp:button. When the user clicks on the button, a
    CZform is openened where the user can view or edit the selected
    CZrow/record in the table.
    CZ>
    CZIt should also be possible for a user to doubleclick on a row, this
    CZshould have the same effect as selecting a row and clicking the edit
    CZbutton.
    CZ>
    CZFrom client side / javascript this is easy to accomplish, but I
    CZwould like to do this without javascript/client-side script.
    CZ>
    CZSo I have a html table (may be changed to a DataView if that's
    CZeasier), and an asp:button. Is there a way to do this without
    CZjavascript?
    CZ>
    CZGreetings,
    CZChris
    CZ*** Sent via Developersdex http://www.developersdex.com ***
    CZ>


    Comment

    Working...