locked
How can we add an event handler to an Ultrawebgrid button cell ? RRS feed

  • Question

  • User915866248 posted

    In my webpage I have an ultrawebgrid which consists of a button column. I want to execute a sql query on the click event of the Ultrawebgrid button cell  that user has clicked.  The sql query should contain one reference from the row that user has clicked.

    How can I accomplish this ? 


    Saturday, August 28, 2010 4:24 AM

All replies

  • User1491356988 posted

    The UltraWebGrid should have SelectedRowsChange event that will be raised when user click on the button. One of the parameters should be the selected row index. You should retrieve the value of the cell from the returned row and the column.

    You can do the same on the client (JavaScript) as well. 




    Saturday, August 28, 2010 7:35 AM
  • User915866248 posted

    Could you pls post a sample code?

    Saturday, August 28, 2010 8:05 AM