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

RadDataForm not going in edit mode the first time

2 Answers 52 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 09 Jan 2014, 08:18 AM
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 Answers, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 10 Jan 2014, 08:46 AM
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 >>
0
Michele
Top achievements
Rank 2
answered on 13 Jan 2014, 03:03 PM

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




Tags
DataForm
Asked by
Michele
Top achievements
Rank 2
Answers by
Vera
Telerik team
Michele
Top achievements
Rank 2
Share this question
or