I have test program that does not run on a client machine.. nothing happens.. except the eventview shows.
EventType clr20r3, P1 crm2k9.exe, P2 1.0.0.0, P3 4960255c, P4 presentationframework, P5 3.0.0.0, P6 488f142e, P7 6259, P8 e1, P9 system.windows.markup.xamlparse, P10 NIL.
thanks in advance
6 Answers, 1 is accepted
To use RadCarousel for WPF you need to refer Telerik.Windows.Data, Telerik.Windows.Controls and Telerik.Windows.Controls.Navigation dll-s.
However we are not sure what causes the issue. Could you provide us with steps to reproduce it? Could you please provide us with the following information:
- Is the XAML in your application valid?
- Do you have installed Service Pack 1 of the Visual Studio?
- Does the problem appear on your local machine?
This information will help us better understand the problem and provide you with more specific instructions.
Regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Hi.. My xaml is valid. and I'm just doing a simple bindind as a test.
Everthing works fine on my dev machine. I get the error on client machines. I can't figure out what the problem is.
public partial class TEST : Page
{
public TEST()
{
InitializeComponent();
this.radCarousel1.ItemsSource = CRM2K9.DataAccess.Get_All();
}
}
<
Page x:Class="CRM2K9.TEST"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:carousel="clr-namespace:Telerik.Windows.Controls.Carousel;assembly=Telerik.Windows.Controls.Navigation"
xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="TEST" Height="552" Width="943">
<Grid>
<Telerik:RadCarousel Margin="40,35,-40,199" Name="radCarousel1" />
</Grid>
</
Page>
Thank you for the provided code, but we were not able to reproduce the problem locally.
I suggest you try the following steps and let us known how this goes:
1.Check the security permissions of the user and check whether the connection string is correct.
2.Try to bind the carousel to a simple ArrayList.
public TEST() |
{ |
InitializeComponent(); |
this.radCarousel1.ItemsSource = GetArrayList(); |
} |
private static ArrayList GetArrayList() |
{ |
ArrayList list = new ArrayList(); |
list.Add("A"); |
list.Add("B"); |
list.Add("C"); |
list.Add("D"); |
list.Add("E"); |
list.Add("f"); |
return list; |
} |
3.Also, could you please share details about the version of the visual studio that you use? Is the one on the client machine different from the VS on the your dev machine?
Also the following forum post discussing the same problem might be helpful to you
http://social.expression.microsoft.com/Forums/en-US/encoder/thread/0aa214d2-c651-4c2e-a651-f26f24904c26/
Regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Hi..
There appears to be a limit to the number of columns - when the ItemsSource is a datatable.
If I return all my columns it throws the XAML parse error.. if I return 10 it works.
thanks again.
We are glad to hear that you have resolved the issue.
Could you tell us how many columns the DataTable contained initially when the error first appeared?
This information will help us reproduce the issue at our side and find the problem.
Regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Not sure of the exact number... but originally I had over 100 fields!