WebGrid double click to call server side event

5 replies. Last post: June 19, 2014 3:58 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Daniel JorgeMember

Good day,

    I'm pretty new to the Intersoft toolkit and I need to do something conceptually easy: I have Hierarchicak WebGrid, with rows in n-levels. It is a self-referencing grid so all the rows look the same. This is what I need

1. When I double click one of the rows, I want to trigger an ajaxToolkit.ModalPopupExtender::Show() method.

2. After using the Panel shown from step #1 do edit the row's properties, I want to click a button and have these changes reflected on the Grid

3. I want to right-click a row, and a context menu to show "Add new <custom object>"

4. Step #3 would trigger the same ModalPopupExtender, all blank for me to fill in the propertied for the new obj.

5. When I save it, I want the new row to be added right below the row I clicked on step #3.

My grid is built off an Array of custom objects, and I will cache the changes until the user hits "Apply"... so I'll send the changes to database.


Would anyone have a sample-code or reference pages that can help me with this?

Thank you so much


Dan

All times are GMT -5. The time now is 4:30 PM.
Previous Next