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

Auto-generated Silverlight DataForm versus Telerik RadDataForm using RIA with RadDomainDataSource

3 Answers 80 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 10 May 2011, 10:31 PM
Please see the attached image which demonstrates some radical differences in the fields displayed in the autogeneration of a Silverlight DataForm (right side of the image) versus that of a RadDataForm (left side of the image) with the CurrentItem set to the same RadDomainDataSource over the same domain data service and metadata.

The main questions are:
  • How do you suppress the entity data that is not part of the metadata from being auto-generated, and,
  • Why doesn't the Telerik RadDataForm handle the metadata in the same way as the Silverlight DataForm?

Thank you,

Robert Burger

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 13 May 2011, 03:57 PM
Hi Robert,

Can you please  check the version of the Telerik dlls you are using . I believe we have addressed such problems with our latest versions.

In case you use older ones - please upgrade to to the latest ( e.g. the latest internal build) .

In case this does not help , please let me know so I can arrange a fast fix  for you .

Regards,
Pavel Pavlov
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
0
Sriman
Top achievements
Rank 1
answered on 18 Oct 2011, 09:47 PM
I have the same issue. Also what is the equivalent for toolkit:DataField.IsFieldGroup = true". What version of dll has the fix


 

 

 

<telerik:RadDataForm.EditTemplate>

 

 

 

 

<DataTemplate>

 

 

 

 

<Grid>

 

 

 

 

<Grid.RowDefinitions>

 

 

 

 

<RowDefinition

 

 

 

Height="auto" />

 

 

 

 

<RowDefinition

 

 

 

Height="auto" />

 

 

 

 

<RowDefinition

 

 

 

Height="auto" />

 

 

 

 

<RowDefinition

 

 

 

Height="auto" />

 

 

 

 

</Grid.RowDefinitions>

 

 

 

 

<StackPanel

 

 

 

x:Name="rootPanel"

 

 

 

Grid.Row="0"

 

 

 

Orientation="Vertical"

 

 

 

toolkit:DataField.IsFieldGroup="True"

 

 

 

d:LayoutOverrides="Width, Height"

 

 

 

Height="0">

 

 

 

 

<toolkit:DataField

 

 

 

LabelPosition="Left"

 

 

 

Label="Dummy Field:">

 

 

 

 

<TextBox

 

 

 

Text="{Binding HasChanges, Mode=TwoWay}" />

 

 

 

 

</toolkit:DataField>

 

 

 

 

</StackPanel>

 

 

 

 

<StackPanel

 

 

 

x:Name="PropertiesPanel"

 

 

 

Grid.Row="1">

 

 

 

 

<TextBlock

 

 

 

Text="Properties"

 

 

 

FontSize="13.333"

 

 

 

FontWeight="Bold" />

 

 

 

 

</StackPanel>

 

 

 

 

<StackPanel

 

 

 

x:Name="TechCharPanel"

 

 

 

Grid.Row="2">

 

 

 

 

<TextBlock

 

 

 

Text="Technical Characteristics"

 

 

 

FontSize="13.333"

 

 

 

FontWeight="Bold" />

 

 

 

 

</StackPanel>

 

 

 

 

<StackPanel

 

 

 

x:Name="NonTechCharPanel"

 

 

 

Grid.Row="3">

 

 

 

 

<TextBlock

 

 

 

Text="Non-Technical Characteristics"

 

 

 

FontSize="13.333"

 

 

 

FontWeight="Bold" />

 

 

 

 

</StackPanel>

 

 

 

 

</Grid>

 

 

 

 

</DataTemplate>

 

 

 

 

</telerik:RadDataForm.EditTemplate>

 

 

 

 

</telerik:RadDataForm>

 


0
Vlad
Telerik team
answered on 19 Oct 2011, 07:19 AM
Hi,

 Our latest official version is Q2 2011 SP1. 

Best wishes,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DataForm
Asked by
Robert
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Sriman
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or