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

Open Dataform in Edit Mode?

4 Answers 70 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 14 May 2013, 10:54 AM
Hi,

i use a RadDataForm in a DialogWindow. I want to open the Dialog, bind the ItemSource on the Dataform and now
I want to get the DataForm in Edit Mode.

I tried AutoEdit="true" this will open my DataForm in EditMode, but on click on the OK Button the DataForm ist still
in Edit Mode!

How can I open the DataForm in Edit mode?

Thanks
Best Regards
Rene

4 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 17 May 2013, 01:45 PM
Hi,

 Can you please try invoking its BeginEdit method through Dispatcher.BeginInvoke, on its Loaded event?

Regards,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
ITA
Top achievements
Rank 1
answered on 22 May 2013, 10:40 AM
Hi,

i tried, but without any success.

thanks
best Regards
Rene
0
Ivan Ivanov
Telerik team
answered on 22 May 2013, 11:47 AM
Hello,

Well, I have tested it on my side and it definitely works. May, I ask you to send us a repro project that illustrates the behavior that you have experienced? It might be some scenario-specific problem.

Regards,
Ivan Ivanov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
ITA
Top achievements
Rank 1
answered on 23 May 2013, 06:41 AM
Hello,

i'm sorry Problem solved, the Syntax was wrong!

UserControl Loaded Event:
Dispatcher.BeginInvoke((Action)(() =>
{
      KundenForm.BeginEdit();
}));

Thanks
Best Regard
Tags
DataForm
Asked by
ITA
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
ITA
Top achievements
Rank 1
Share this question
or