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

RadCarousel: does not work in WPF Browser applications?

3 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig Cote
Top achievements
Rank 2
Craig Cote asked on 11 Jul 2008, 08:00 AM
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?

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 11 Jul 2008, 12:12 PM
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
0
Craig Cote
Top achievements
Rank 2
answered on 11 Jul 2008, 04:13 PM
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.
0
Craig Cote
Top achievements
Rank 2
answered on 12 Jul 2008, 06:26 AM
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....
Tags
General Discussions
Asked by
Craig Cote
Top achievements
Rank 2
Answers by
Milan
Telerik team
Craig Cote
Top achievements
Rank 2
Share this question
or