Strange problem when changed from 714 to 812

12 posts, 0 answers
  1. stavros sotirchos
    stavros sotirchos avatar
    16 posts
    Member since:
    Mar 2006

    Posted 26 Aug 2010 Link to this post

    I had a radbook with three custom controls set as page items. Everything worked ok when built with 2010 Q2 714. When changed to 812 suddenly the first page stopped showing. When clicked to where it should be the upper right corner the first page was shown and flipped. Again when clicked to go back the flip completed ok and then the firstpage lost again.
  2. Ingemar
    Ingemar avatar
    18 posts
    Member since:
    Nov 2009

    Posted 27 Aug 2010 Link to this post

    Hi, 

    I experience the same problem and type of behavior. It works correct again if I switch back only the Navigation.dll to v.714 and keep all other dll:s in v.812. (rather natural I suppose).

    Best regards,
    //Ingemar
  3. DevCraft banner
  4. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 31 Aug 2010 Link to this post

    Hello Ingemar,

    Could you please tell us if you experience the same issue with our latest internal build. I'd be glad to further assist you.

    All the best,
    Kiril Stanoev
    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
  5. Ingemar
    Ingemar avatar
    18 posts
    Member since:
    Nov 2009

    Posted 31 Aug 2010 Link to this post

    Hi again,

    Downloaded the last build 2010.2.827.1040 and the issue is not resolved. The behaviour is the following. 
    1. Nothing shows - starting with the first page
    2. Using the datapager to go one page forward - the page shows up, turns to the next and dissapears.
    3. Stepping forward through the book or backwards does not show anything except
    4. Using the datapager to go one page backward from the last page- the page shows up, turns to the next and dissapears.

     -- very erratically the page might show up when clicking in the corner (first/second page)

    So, in the beginning and end of the book something happens, otherwise completely dead.

    Best regards,
    Ingemar 
  6. stavros sotirchos
    stavros sotirchos avatar
    16 posts
    Member since:
    Mar 2006

    Posted 31 Aug 2010 Link to this post

    I have the same behaviour although I do not have a pager
  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 02 Sep 2010 Link to this post

    Hi guys,

    Could you please share with me the most basic scenario in which RadBook displays the issue. If you can attach a sample project demonstrating the problem it would be great. This way I'll be better able to determine what is causing the problem and produce a fix as soon as possible.

    Regards,
    Kiril Stanoev
    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. Ingemar
    Ingemar avatar
    18 posts
    Member since:
    Nov 2009

    Posted 22 Nov 2010 Link to this post

    Hi Kiril,

    I finally got around to simplify my code. Rather basic in the end. It follows below. 

    Best regards,
    //Ingemar

    <UserControl x:Class="RadBook_2_724_versus_3_1110.MainPage"
        mc:Ignorable="d" Width="640" Height="480">
        <!--Move the mouse to the upper/lower right corner to see the pages
        Move the mouse outside of the book and the pages disapears-->
        <UserControl.Resources>
            <DataTemplate x:Name="LeftPageTemplate">
                <TextBlock Text="2.724 works while all later versions fail"/>
            </DataTemplate>
        </UserControl.Resources>
        <Grid x:Name="LayoutRoot" Background="blue" >
            <Border BorderBrush="Gray"
                    BorderThickness="1" 
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch">
                <!--Take away the effect and it works with 3.1110-->
                <Border.Effect>
                    <DropShadowEffect/>
                    <!--<BlurEffect/> Does not matter which effect is used-->
                </Border.Effect>
                <telerik:RadBook 
                    LeftPageTemplate="{StaticResource LeftPageTemplate}"       
                    RightPageTemplate="{StaticResource LeftPageTemplate}"                                  
                    ItemsSource="{Binding TestCollection}">
                </telerik:RadBook>
            </Border>
        </Grid>
    </UserControl>

    namespace RadBook_2_724_versus_3_1110
    {
        public partial class MainPage : UserControl
        {
            public MainPage()
            {
                InitializeComponent();
                LayoutRoot.DataContext = this;
            }
     
            public string[] TestCollection
            {
                get { return new string[] { "1", "2", "3", "4" }; }
            }
        }
    }
  9. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 22 Nov 2010 Link to this post

    Hello Ingemar,

    Currently there is an issue when combining clippings and effects. One possible workaround I can suggest is to put the effect on a border and put the book outside the border.

    Before
    <Grid x:Name="LayoutRoot" Background="blue">
        <Border BorderBrush="Gray" BorderThickness="1" HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch">
            <!--Take away the effect and it works with 3.1110-->
            <Border.Effect>
                <DropShadowEffect />
                <!--<BlurEffect/> Does not matter which effect is used-->
            </Border.Effect>
            <telerik:RadBook LeftPageTemplate="{StaticResource LeftPageTemplate}"
                    RightPageTemplate="{StaticResource LeftPageTemplate}"
                    ItemsSource="{Binding TestCollection}"></telerik:RadBook>
        </Border>
    </Grid>

    After
    <Grid x:Name="LayoutRoot" Background="blue">
        <Border BorderBrush="Gray" BorderThickness="1" HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch" Background="Gray">
            <!--Take away the effect and it works with 3.1110-->
            <Border.Effect>
                <DropShadowEffect />
                <!--<BlurEffect/> Does not matter which effect is used-->
            </Border.Effect>
        </Border>
        <telerik:RadBook LeftPageTemplate="{StaticResource LeftPageTemplate}"
                RightPageTemplate="{StaticResource LeftPageTemplate}"
                ItemsSource="{Binding TestCollection}" Margin="1"></telerik:RadBook>
    </Grid>

    Give it a try and let me know if it helps.

    Best wishes,
    Kiril Stanoev
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  10. Ingemar
    Ingemar avatar
    18 posts
    Member since:
    Nov 2009

    Posted 22 Nov 2010 Link to this post

    Hello again,

    The pages are shown as they should in my own application when using your workaround. The problem with this workaround is that the visual impression is not the same. Basically it looks bad in my app. In the codesample here it shows, but  its not directly disturbing. Do you have an idea on how to get the same visual impression? 


    Best regards,
    //Ingemar
  11. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 25 Nov 2010 Link to this post

    Hi Ingemar,

    Unfortunately there is not much to do in this particular scenario. I don't this there is a better approach than the one I previously provided you with. However, I'd like to ask if you can provide us with screenshots of when the book looks good and when it looks bad.

    All the best,
    Kiril Stanoev
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  12. Ingemar
    Ingemar avatar
    18 posts
    Member since:
    Nov 2009

    Posted 25 Nov 2010 Link to this post

    Hello Kiril,

    Pictures of the two cases are attched. The only difference is the placement of  the </Border> - tag. The problem is that the shadow-effect disappears. I also made an mp4-file where this shows better but I can´t attach it. If you want that one just tell me where and how you want it.

    Best regards,
    //Ingemar

     
  13. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 26 Nov 2010 Link to this post

    Hello Ingemar,

    Probably the Book control is overlapping the Border with the shadow effect. Probably setting a margin to the book will make the shadow effect more visible. Is it possible for you to send us a small version of your project so we can try and debug it locally. Another option is to send us XAML showing the problem. I'd be glad to further assist you.

    Regards,
    Kiril Stanoev
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner