Problems with the latest internal build (RadControls_for_Silverlight_4_2010_2_1018_DEV)

9 posts, 0 answers
  1. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 20 Oct 2010 Link to this post

    HI, 
    I am having some trouble switching to new build. I get this error:

    Error: Unhandled Error in Silverlight Application 
    Code: 2501    
    Category: ParserError       
    Message: The attachable property 'UpdateTextOnEnter' was not found in type 'TextBoxBehavior'.     
    File:      
    Line: 25     
    Position: 30     


    Can you please help me with that?
    Thanks :)
  2. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 20 Oct 2010 Link to this post

    Hello DCMS,

    Could you please provide me with some more info about how you get this error?
    Are you using ExpressionDark theme? Do you get this error message with any other theme?
    Thank you in advance.

    Best wishes,
    Nedyalko Nikolov
    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
  3. DevCraft banner
  4. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 21 Oct 2010 Link to this post

    HI Nedyalko Nikolov , 
    We are using the windows7 theme, and the error occurs while loading the application.
    I'll try to use some other theme and see what happens, but we'll need to use window7 anyway... :S
  5. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 21 Oct 2010 Link to this post

    When I revert to default theme, it works :S
  6. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    HI Nedyalko Nikolov, 
    Can you tell me when can we expect the Telerik.Windows.Themes.Windows7.dll assembly to be compatible with the latest internal build?
    Thank you :)
  7. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 22 Oct 2010 Link to this post

    Hi DCMS,

    Finally I've managed to simulate the problem. The problem comes from the fact that previous LIB (latest internal build) due to mistake doesn't include Telerik.Windows.Themes.Windows7.dll and your application is using same dll with version 2010.2.0812 which is our official service pack 1.
    Could you please download our current LIB (uploaded today) and let me know how it works?

    Regards,
    Nedyalko Nikolov
    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
  8. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 25 Oct 2010 Link to this post

    Hi Nedyalko Nikolov, 
    It works now with windows7 theme, but I have discovered another problem when using the RadDataPager. I get this exception message:
    {System.Windows.Markup.XamlParseException: AG_E_UNKNOWN_ERROR [Line: 11 Position: 23] ---> System.InvalidOperationException: EndInit was called without BeginInit having previously been called on the element.
       at Telerik.Windows.Controls.RadDataPager.EndInitInternal()
       at Telerik.Windows.Controls.RadDataPager.EndInit()
       at MS.Internal.FrameworkCallbacks.SupportInitializeEndInit(IntPtr nativeTarget)
       --- End of inner exception stack trace ---
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at OnGuard.DCMS.FrontEnd.SL.CustomControls.ClientSidePager.InitializeComponent()
       at OnGuard.DCMS.FrontEnd.SL.CustomControls.ClientSidePager..ctor()}
     
     
    Inner exception:
     
     
     
       EndInit was called without BeginInit having previously been called on the element.
        
          at Telerik.Windows.Controls.RadDataPager.EndInitInternal()
       at Telerik.Windows.Controls.RadDataPager.EndInit()
       at MS.Internal.FrameworkCallbacks.SupportInitializeEndInit(IntPtr nativeTarget)

    Here is my pager template:

    <ControlTemplate TargetType="telerikData:RadDataPager" x:Name="ClientSidePagerVertical" >
           <StackPanel x:Name="LayoutRoot" Width="30" VerticalAlignment="Stretch">
               <TextBlock
                   Width="18"
                   x:Name="tbSliderPosition"
                   Text="{Binding Path=Value,  ElementName=radSlider1}" 
                   HorizontalAlignment="Left"
                   Height="18" TextAlignment="Center" />
               <telerik:RadSlider x:Name="radSlider1" IsSelectionRangeEnabled="False" Minimum="1"
                       Maximum="{Binding Path=PageCount,  RelativeSource={RelativeSource TemplatedParent}}"
                       IsDirectionReversed="True"
                       Orientation="Vertical"
                       IsMoveToPointEnabled="True" IsMouseWheelEnabled="False"
                       IsEnabled="{Binding Path=PageCount,  RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PageCountConverter}}"
                       IsSnapToTickEnabled="True"
                       TickFrequency="1"
                       VerticalAlignment="Stretch"
                       HorizontalAlignment="Left"
                       HandlesVisibility="Visible"
                      Width="20"
                       MinHeight="194"
                      EnableSideTicks="False" TickPlacement="None"
            />
     
               <TextBlock
                   x:Name="tbMaxPage"
                   Text="{Binding Path=PageCount,  RelativeSource={RelativeSource TemplatedParent},Mode=TwoWay}"
                   HorizontalAlignment="Left" 
                   Height="18"
                   Width="18"
                    VerticalAlignment="Bottom"
                   TextAlignment="Center"/>
               <TextBox
                   x:Name="tbxPagesize"  Height="20"
                    Text="{Binding Path=PageSize,  RelativeSource={RelativeSource TemplatedParent},Mode=TwoWay}"
                   VerticalAlignment="Bottom"
                   HorizontalAlignment="Left"
                   Margin="-4, 0,0,0"
                  Width="30" />
           </StackPanel>
       </ControlTemplate>

    This template works wit previous version, but not the last one..

    Please help ;(
  9. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 25 Oct 2010 Link to this post

    Hi, 
    On the second look, it doesnt even get to applyTemplate, the exception occurs on  InitializeComponent() method call.
  10. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 26 Oct 2010 Link to this post

    Hello DCMS,

    I've tried to simulate the issue with your code and our latest internal build unfortunately to no avail. Maybe I'm doing something wrong. Could you tell me what to do in order to reproduce the problem?

    P.S. I'm attaching my test project for a reference.

    Best wishes,
    Nedyalko Nikolov
    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
Back to Top
DevCraft banner