RadCarousel: does not work in WPF Browser applications?

4 posts, 0 answers
  1. Craig Cote
    Craig Cote avatar
    8 posts
    Member since:
    Oct 2004

    Posted 11 Jul 2008 Link to this post

    As far as I can determine, the RadCarousel control does not work in WPF Browser applications.  I started my current project as a WPF Browser app and after hours of not being able to get RadCarousel to work, I copied & pasted my XAML and C# code into a WPF application and it worked just fine.

    Can you confirm that this is a problem, and whether it is expected to be addressed before release?
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 11 Jul 2008 Link to this post

    Hi Craig Cote,

    Our controls are XBAP compatible and you should not have any problems running the RadCarousel, or any other control, inside a browser. You may visit http://www.telerik.com/demos/wpf/  to see the XBAP version of our Quick start framework in action. 
    Could you give us more details about any exceptions or errors that you get when you try to run the RadCarousel in XBAP?

    Best wishes,
    Milan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Craig Cote
    Craig Cote avatar
    8 posts
    Member since:
    Oct 2004

    Posted 11 Jul 2008 Link to this post

    That's very strange.  As I said, I simply copied and pasted the code from the page (browser app project) to the window (app project) and it worked fine there.  My original code was a direct copy & paste of C# and XAML code from the demos.  Needless to say I had to set up references, etc.  And I used my own DataTable (but used the same field names as referenced in the XAML) as my ItemSource.

    There were no errors.  But all I got was a blank screen -- not even the arrow (slider) controls at the bottom.  The only thing that I can think of that might be relevent is that I only had a single "item" in my ItemSource (a DataTable) at the time.

    If I have some time today, I'll copy my window code back to a page (reverse of what I did), and try it again to see if I have the same results.  Don't forget that I am not using your Quick Start framework;  they may contain some assumptions that aren't true for somebody else that is using the control.  In other words, the fact that it works with the Quick Start framework does not absolutely prove that it works.
  4. Craig Cote
    Craig Cote avatar
    8 posts
    Member since:
    Oct 2004

    Posted 12 Jul 2008 Link to this post

    I did manage to get it to work.  But it was very odd... I created my project from scratch and added a TextBox control, then tested it.  Sure enough, my text appeared.  Then I copied & pasted my XAML and C# from the WPF Application Window into the WPF Browser Application Page.  I was trying to run it from the file system, and I kept seeing *only* the TextBox control and it's text (which I'd gotten rid of).  Doh!

    I had to change the start project to the Browser App project, and then debug to see the changes, and they were indeed there.  Obviously, there is something about running it from the file system that I need to investigate....
Back to Top