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

[Solved] ItemCommand client side

4 Answers 199 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 08 Feb 2008, 08:39 AM
I use the demo "Returning values from a Dialog" from radwindow in my application. This works fine for a textbox, but now I want to return a value from a grid. Becasue this happens client side I look for possiblity of client side "ItemCommand" event, but I find it onlx for standard ASP.NET rad grid but not for prometheus version. How can I accomplish this task?

4 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 11 Feb 2008, 02:39 PM
Hello Markus,

To see more information on the requested functionality, please refer to the following article, as well as this one. They elaborate on how to get the values.
Let me know if this helps.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 12 Feb 2008, 08:17 AM
Thanks for help, but your examples are not exactly what I need. I need to know when user clicks on a button or link of a GridButtonColumn client side and which button he has clicked. At the moment I can't see how I can accomplish this with your provided examples.
0
Accepted
Yavor
Telerik team
answered on 14 Feb 2008, 03:10 PM
Hello Markus,

In this case, you can use the ItemDatabound event handler, get a reference to the cells, where the buttons are nested, and assign them onclick client side handlers. Also, you can pass one argument to the client side function, allowing you to identify the item uniquely, for example the Key field for the row.
I hope this information helps.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 15 Feb 2008, 08:24 AM
Thanks for help! I get it work with your hint.
Tags
Grid
Asked by
Markus
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Markus
Top achievements
Rank 1
Share this question
or