when Button clicked action to be taken

2 posts, 0 answers
  1. Parameswari
    Parameswari avatar
    19 posts
    Member since:
    Jun 2011

    Posted 25 Jun 2011 Link to this post

        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 .
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 29 Jun 2011 Link to this post

    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.

    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
Back to Top