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

How to tell what toolbar button was clicked OnResponseEnd

1 Answer 57 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Xorcist
Top achievements
Rank 1
Xorcist asked on 01 Mar 2010, 05:58 PM
What is the proper way to do this? Currently I'm storing the command name of the clicked button in a variable, then checking that varibale after the postback (but that just seems wrong). Can anyone show me the correct way to determine which button was clicked in OnRequestEnd.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 04 Mar 2010, 03:10 PM
Hello Xorcist,

You cannot get directly in the ResponseEnd event the clicked button, so your approach seems correct.

Best regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ToolBar
Asked by
Xorcist
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or