UserControl with RTSDataForm - Invalid XAML in Expression Blend

4 posts, 0 answers
  1. Sasikiran
    Sasikiran avatar
    6 posts
    Member since:
    Jan 2012

    Posted 13 Jan 2012 Link to this post

    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
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 16 Jan 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Sasikiran
    Sasikiran avatar
    6 posts
    Member since:
    Jan 2012

    Posted 16 Jan 2012 Link to this post

    Hi Ivanov,

    I'm using RadControls for Silverlight4, product version 2011.2.0712.1040

    -Sasi
  5. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 16 Jan 2012 Link to this post

    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 >>
Back to Top