How to use RadCarousel in SharePoint web parts?

7 posts, 0 answers
  1. Savan
    Savan avatar
    26 posts
    Member since:
    Oct 2007

    Posted 16 Feb 2009 Link to this post

    Hi,

    We have download and installed sample exe for WPF application.
    It has created some sample application in C:\ProgramFiles\Telerik...

    Now when you copy and paste the code from your examples, its not running and giving error.

    So Can you please tell me how to use run your sample examples.

    I get the error at line
            <telerik:RadCarousel 

    Error is : The element grid in namespace http://schemas.microsoft.com/winfx/2006/xaml/presentation
    has invalid child element RadCarousel in namepace http://schemas.microsoft.com/winfx/2006/xaml/ list of possible elements expexted..... 

    This is my Code

    <QuickStart:ExampleControl x:Class="Telerik.Windows.Examples.Carousel.BringIntoView.Example" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:QuickStart="clr-namespace:Telerik.Windows.QuickStart;assembly=Telerik.Windows.QuickStart" 
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
        xmlns:e="clr-namespace:Telerik.Windows.Examples">  
        <QuickStart:ExampleControl.Resources> 
            <ObjectDataProvider x:Key="objectDataProvider" ObjectType="{x:Type e:ExamplesDB}" MethodName="GetAddressBookSimple" /> 
        </QuickStart:ExampleControl.Resources> 
        <Grid> 
            <telerik:RadCarousel Name="radCarousel" DataContext="{StaticResource objectDataProvider}" ItemsSource="{Binding}"/>  
          
        </Grid> 
        <QuickStart:ExampleControl.TopRightPanel> 
            <StackPanel> 
                <TextBlock Text="Locate contact" /> 
                <ComboBox DisplayMemberPath="FirstName" DataContext="{StaticResource objectDataProvider}"   
                          ItemsSource="{Binding}" HorizontalAlignment="Stretch" ClipToBounds="True" SelectedIndex="0"   
                          SelectionChanged="Contact_SelectionChanged" /> 
            </StackPanel> 
        </QuickStart:ExampleControl.TopRightPanel> 
    </QuickStart:ExampleControl> 

    I have installed .NET Framework 3.0 and VS 2005



    We need to use this in a web application.
    Thanks
    Savan

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Feb 2009 Link to this post

    Hi Savan,

    Do you have references to our WPF dlls in your project?

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Savan
    Savan avatar
    26 posts
    Member since:
    Oct 2007

    Posted 16 Feb 2009 Link to this post

    Hi,

    Yes I have added all the ddls from folder
    C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0 -----     
    PresentationCore.dll
    PresentationFramework.dll
    WindowsBase.dll

    etc.

    and all dlls from C:\Program Files\Telerik\Binaries -----folder.

    Should I have to install VS 2008, .NET Framework 3.5 SP1, or SilverLight 2.0 ???

    Thanks
    Savan
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 17 Feb 2009 Link to this post

    Hi Savan,

    You will need Telerik dlls if you want Visual Studio to recognize telerik prefix.

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Savan
    Savan avatar
    26 posts
    Member since:
    Oct 2007

    Posted 17 Feb 2009 Link to this post

    Hi,

    Now I am able to play with your sample examples.

    Can I use this RadCarousel  control in SharePoin Web Parts?

    If yes, How? Can you please send me a sample web part application.

    Thanks
    Savan

  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 19 Feb 2009 Link to this post

    Hi Savan,

    Most probably you will need iframe to show WPF XBAP.

    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Savan
    Savan avatar
    26 posts
    Member since:
    Oct 2007

    Posted 19 Feb 2009 Link to this post

    Hi,
    Thanks for reply....

    Yahhh...I used IFrame to render XBAP file.
    Its working.

    But I new to RadCarousel  and SilverLight....So Can u please send me some simple code example
    which explains me, how to bind RadCarousel control to datatable?


    Thanks
    Savan
Back to Top
UI for WPF is Visual Studio 2017 Ready