RadButton on DataForm

2 posts, 1 answers
  1. Kakone
    Kakone avatar
    68 posts
    Member since:
    Jan 2010

    Posted 23 Mar 2010 Link to this post


    I try to replace the standard buttons (Commit, Cancel, ...) on a DataForm with RadButtons. To do this, for example, I set the CommitButtonStyle property like this :
      <Style TargetType="ButtonBase">  
        <Setter Property="Template">  
            <ControlTemplate TargetType="ButtonBase">  
              <telerik:RadButton x:Name="CommitButton" telerikNavigation:RadWindow.ResponseButton="Accept" Content="{TemplateBinding Content}" />  

    The appareance is good, but the events are not raised. Did you know how can I do this ?

  2. Answer
    Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 26 Mar 2010 Link to this post

    Hello Stéphane Mitermite,

    When you change the standard buttons of the DataForm to a RadButton for example, you cannot get the RadButton to listen to the DataForm control methods. Still, if you need you can handle the click event of the RadButton.

    Can you please elaborate on the scenario you want to implement, so that we can point you to a better solution?

    Please let us know if we can be of further assistance.

    Sincerely yours,
    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