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

UserControl with RTSDataForm - Invalid XAML in Expression Blend

3 Answers 67 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Sasikiran
Top achievements
Rank 1
Sasikiran asked on 14 Jan 2012, 12:04 AM
I'm using a RTSData form in a UserControl. It includes a DataTemplate and a stack panel for Login form.
The RTSDataForm has properties like AutoEdit and a binding in the CurrentItem. All the bindings in side this Dataform template got binded to a resource file to get the values.


But the problem is this is working fine in Visual studio and no error. But in Expression blend it is showing this error. 

Please find the enclosed screenshots showing the error message.

<userControl:RTSDataForm
                      Grid.Row="1"
                      x:Name="LoginForm"
                      BorderThickness="0"
                      AutoEdit="True"
                      HeaderVisibility="Collapsed"
                      CommandButtonsVisibility="None"
                      AutoGenerateFields="False"
                      CurrentItem="{Binding LoginUser}"
                      FontSize="13">
                      <userControl:RTSDataForm.EditTemplate>
                          <DataTemplate>
                              <StackPanel>
                                  <userControl:RTSDataField Margin="5">
                                      <TextBox x:Name="UserName" KeyDown="UserName_KeyDown" Text="{Binding UserName,Mode=TwoWay}" telerik:StyleManager.Theme="{StaticResource Theme}" ex:BindingExtensions.UpdateSourceOnChange="True"/>
                                  </userControl:RTSDataField>
                                  <userControl:RTSDataField Margin="5" >
                                      <PasswordBox x:Name="Password" KeyDown="Password_KeyDown" Password="{Binding Password,Mode=TwoWay}"  telerik:StyleManager.Theme="{StaticResource Theme}" ex:BindingExtensions.UpdateSourceOnChange="True"/>
                                  </userControl:RTSDataField>
                                  <userControl:RTSDataField Label="" Margin="5">
                                      <CheckBox IsChecked="{Binding RememberMe, Mode=TwoWay}" Content="Keep me logged in"  telerik:StyleManager.Theme="{StaticResource Theme}"/>
                                  </userControl:RTSDataField>
                              </StackPanel>
                          </DataTemplate>
                      </userControl:RTSDataForm.EditTemplate>
                  </userControl:RTSDataForm>


Thank you for your support
Ravella

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 16 Jan 2012, 02:23 PM
Hi Sasikiran,

I tested a similar scenario with Q3 Binaries and did not manage to reproduce such an issue. Would you please confirm which version of RadCotrols you are currently using?

Greetings,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Sasikiran
Top achievements
Rank 1
answered on 16 Jan 2012, 03:59 PM
Hi Ivanov,

I'm using RadControls for Silverlight4, product version 2011.2.0712.1040

-Sasi
0
Ivan Ivanov
Telerik team
answered on 16 Jan 2012, 05:20 PM
Hi Sasikiran,

I have tested this with 2011.2.0712.1040, but without any significant success of reproducing this issue. Unfortunately we will need a simple demo project that reproduces the described problem or at least some more information on your scenario. Please, excuse us for the inconvenience.

Kind regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
DataForm
Asked by
Sasikiran
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Sasikiran
Top achievements
Rank 1
Share this question
or