This is a migrated thread and some comments may be shown as answers.

[Solved] Different usercontrol for each command

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
dennis
Top achievements
Rank 1
dennis asked on 06 Oct 2009, 01:16 AM
is posible to display an user control in popup mode when i click edit, and another when i click insert, or another when i click some command else???

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Oct 2009, 05:32 AM
Hello Dennis,

The following help document provides exactly the same information of what you are trying to achieve. You need to check for the CommandName in the ItemCommand event of the grid and then switch the user control accordingly. Go through the document to understand better:
Different edit forms on edit and insert

Thanks
Princy.
Tags
Grid
Asked by
dennis
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or