RadDataForm not going in edit mode the first time

3 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 09 Jan 2014 Link to this post

    Hello,
    I've got a Silverlight application that I've upgraded to last version of controls (from an old 2011.1.xxx), I use Ideablade's devforce to access the data and I've a button that performs the BeginEdit command on RadDataForm... I use Caliburn Micro/Cocktail for IoC and when I first click on edit nothing happens.... if I change the page then I return to the one previous one then click on edit the dataform goes to edit mode...what the hell can be the cause?!?!?!? why previously to the update it was working like a charm?
    Thanks in advance

    Paolo
  2. Vera
    Admin
    Vera avatar
    263 posts

    Posted 10 Jan 2014 Link to this post

    Hi Paolo,

    I tested your scenario but I was not able to reproduce the problem. Please open a support ticket and send a simple runnable project demonstrating it. We will debug it on our side in order to find the cause.

    Regards,
    Vera
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 13 Jan 2014 Link to this post

    Hello,

    after a long of debugging I've discovered I need to have the buttons declaration below the RadDataForm (I think it's something related to VisualTreeView)


         <telerik:RadButton Style="{StaticResource HeaderCircleButtonStyle}" Margin="30,0,0,0"



    Command="telerik:RadDataFormCommands.BeginEdit" CommandTarget="{Binding ElementName=dataForm}"



    Tag="{Binding Path=Resource1.EDIT, Source={StaticResource LocalizedStrings }}">



    Now it works!

    Thanks




Back to Top