AlHal2
asked on
Replicate RowHeaderMouseDoubleClick in web form
On a windows form the datagrid has an event RowHeaderMouseDoubleClick
I'm trying to convert a windows form to run in ASP.net 2.0 as a web form.
How can I replicate RowHeaderMouseDoubleClick in a web form using a gridview?
I'm trying to convert a windows form to run in ASP.net 2.0 as a web form.
How can I replicate RowHeaderMouseDoubleClick in a web form using a gridview?
I don't think you can do this, and I can't remember any websites which used a double click instead of a single.
Alternatives you could user are:
Modal popup using the ajax toolkit
On hover panel
Tooltip manipulation.
It really depends what you're wanting to do with this sub grid.
Alternatives you could user are:
Modal popup using the ajax toolkit
On hover panel
Tooltip manipulation.
It really depends what you're wanting to do with this sub grid.
ASKER
Single click is fine. The main form is basically a read only screen. It has drop down boxes and buttons for filtering the grid.
When the user clicks the grid on the main form it brings up a subform with a grid displaying more information for the selected item. It also has text boxes and buttons for updating and inserting data on the grid.
By default the text boxes also reflect what was clicked on the main form.
When the user clicks the grid on the main form it brings up a subform with a grid displaying more information for the selected item. It also has text boxes and buttons for updating and inserting data on the grid.
By default the text boxes also reflect what was clicked on the main form.
personally, I'd build a web user control with a formview for displaying and editing the record (to mimic your subgrid popup), and place this new control inside a template field on the datagrid. Then, when a record in the parent grid is selected, the formview is displayed in a modal pop up
(requires the ajax toolkit).
(requires the ajax toolkit).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't have the AJAX toolkit, so was your second solution with or withou it?
ASKER
I think the AJAX toolkit is easily available, so here are the points.
http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/
Download, tutorials and advice :)
A lot of people on EE use it too.
Download, tutorials and advice :)
A lot of people on EE use it too.
ASKER
The sub form had another grid that was populated using the selected value on the grid of the first form eg.
i = PreviousForm.Grid2.Current
¿I'm trying to replicate this functionality in a web form using asp.net 2.0 with vb 2005