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

Strange problem when changed from 714 to 812

11 Answers 67 Views
Book
This is a migrated thread and some comments may be shown as answers.
stavros sotirchos
Top achievements
Rank 1
stavros sotirchos asked on 26 Aug 2010, 10:12 PM
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.

11 Answers, 1 is accepted

Sort by
0
Ingemar
Top achievements
Rank 1
answered on 28 Aug 2010, 12:06 AM
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
0
Kiril Stanoev
Telerik team
answered on 31 Aug 2010, 09:55 AM
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
0
Ingemar
Top achievements
Rank 1
answered on 31 Aug 2010, 01:06 PM
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 
0
stavros sotirchos
Top achievements
Rank 1
answered on 31 Aug 2010, 01:19 PM
I have the same behaviour although I do not have a pager
0
Kiril Stanoev
Telerik team
answered on 02 Sep 2010, 01:59 PM
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
0
Ingemar
Top achievements
Rank 1
answered on 22 Nov 2010, 01:19 PM
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" }; }
        }
    }
}
0
Kiril Stanoev
Telerik team
answered on 22 Nov 2010, 04:41 PM
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
0
Ingemar
Top achievements
Rank 1
answered on 22 Nov 2010, 07:55 PM
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
0
Kiril Stanoev
Telerik team
answered on 25 Nov 2010, 10:28 AM
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
0
Ingemar
Top achievements
Rank 1
answered on 25 Nov 2010, 12:45 PM
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

 
0
Kiril Stanoev
Telerik team
answered on 26 Nov 2010, 03:26 PM
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
Tags
Book
Asked by
stavros sotirchos
Top achievements
Rank 1
Answers by
Ingemar
Top achievements
Rank 1
Kiril Stanoev
Telerik team
stavros sotirchos
Top achievements
Rank 1
Share this question
or