on 02-22-2010 8:40 AM
Hi,
I have two buttons in web dynpro which will perform deleted selected row and delete all rows.
When click on both the buttons, i need to display a confirmation popup,.
I have defined these things. But now currently i have defined 2 methods to do this. IS there any other way?
Is it possible to define a parameter in the event handler? if so, how to pass the value to it?
Regards,
Niyaz
Hi !
If you name the buttons different, you can use the same action methode. There you can get the name of the button out of the importing parameter "event" and so you can follow your logic for every button.
hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as i think u can not define the parameters for a button event.
U can do it by some other way...
On the on click event of a button call a event handler without any import parameters. Now in this method call one other method in the same controller. Where u can write the common code and also can send the values through parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.