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

Using Command

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Iwan van Ee
Top achievements
Rank 1
Iwan van Ee asked on 16 Aug 2010, 10:57 AM
Hi,

I now have a seperate edit button that calls the btnEdit_Click. In that function I navigate to a different page by getting the current item from the grid.
I want a button in the grid that can be clicked that also navigates to that same page. Is that possible with the new Command functionallity?
I already tried something like:

<telerik:RadButton  Content="Edit" CommandParameter="{Binding}" Command="btnEdit_Click"  />

But that does not call the btnEdit_Click.

Thanks,
  Iwan 

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 16 Aug 2010, 02:08 PM
Hello Iwan van Ee,

 Commands in WPF and Silverlight are quite different from the usual event-handling approach. A good resource to start when exploring commands is this article on MSDN.

Sincerely yours,
Yavor Georgiev
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
GridView
Asked by
Iwan van Ee
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or