Hi,
I have used RadControls for WPF, and created a RadWindow and a RadGrid view, and entered some sample data into the RadGrid as per the following code:
<telerik:RadWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
x:Class="WpfApplication6.MainWindow"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<telerik:RadWindow.Resources>
<XmlDataProvider x:Key="GridEntries" XPath="/Categories/Details">
<x:XData>
<Categories>
<Details>
<Source>ABC</Source>
<Title>DEF</Title>
<Date>12/11/10</Date>
<Location></Location>
<Type></Type>
<Category></Category>
<Severity></Severity>
<ScenarioActivated></ScenarioActivated>
<Videowall></Videowall>
</Details>
<Details>
<Source>DEF</Source>
<Title>XYZ</Title>
<Date>22/05/10</Date>
<Location></Location>
<Type></Type>
<Category></Category>
<Severity></Severity>
<ScenarioActivated></ScenarioActivated>
<Videowall></Videowall>
</Details>
<Details>
<Source>PQR</Source>
<Title>XYZ</Title>
<Date>30/09/10</Date>
<Location></Location>
<Type></Type>
<Category></Category>
<Severity></Severity>
<ScenarioActivated></ScenarioActivated>
<Videowall></Videowall>
</Details>
</Categories>
</x:XData>
</XmlDataProvider>
</telerik:RadWindow.Resources>
<telerik:RadGridView
HorizontalAlignment="Center"
VerticalAlignment="Center"
Height="200" Width="876" AutoGenerateColumns="True"
ItemsSource="{Binding Source={StaticResource GridEntries}}"/>
</telerik:RadWindow>
The code is functioning fine during design time and the sample data i have written in the RadGrid is appearing during design time. but, when i run this XAML in Expression Blend, the RadWindow and radgrid appears, with no fields and no sample data in it. Just an empty Radgrid with no data appears in a radWindow. Please help me solve this problem i am facing. Thanx.