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

when Button clicked action to be taken

1 Answer 31 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Parameswari
Top achievements
Rank 2
Parameswari asked on 25 Jun 2011, 12:58 PM
Hi,
    Iam building a project for Billing and I am using MVVM concept .
My scenerio is:
when i click a button in my design(view), the data that is viewed in the page must be Converted to  other required page . The changes should be updated in DataBase too. Is there any event to commit this?
Thank U .

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 29 Jun 2011, 03:54 PM
Hi Parameswari,

Since you take advantage of the MVVM pattern, you can define a DelegateCommand in your view models in order to implement your custom logic on RadButton.Click. You can bind this command to the RadButton.Command property thus executing it each time the button is clicked.

I hope this info will help you.

Greetings,
Tina Stancheva
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
Buttons
Asked by
Parameswari
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Share this question
or