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

Not able to Use Rad Grid View

1 Answer 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 28 May 2012, 05:21 AM
MainPage.xaml.cs

--------------------------------------------

using

 

 

System;

 

using

 

 

System.Collections.Generic;

 

using

 

 

System.Linq;

 

using

 

 

System.Net;

 

using

 

 

System.Windows;

 

using

 

 

System.Windows.Controls;

 

using

 

 

System.Windows.Documents;

 

using

 

 

System.Windows.Input;

 

using

 

 

System.Windows.Media;

 

using

 

 

System.Windows.Media.Animation;

 

using

 

 

System.Windows.Shapes;

 

namespace

 

 

telerik_radgrid

 

{

 

 

public partial class MainPage : UserControl

 

{

 

 

public MainPage()

 

{

InitializeComponent();

}

}

}

-----------------------------

Mainpage.xaml

 

<

 

 

UserControl x:Class="telerik_radgrid.MainPage"

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

 

 

 

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

 

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

mc:Ignorable="d" d:DesignHeight="700" d:DesignWidth="700">

 

 

 

 

<Grid x:Name="LayoutRoot" Background="White">

 

 

 

 

<telerik:RadGridView x:Name="radGridView" />

 

 

 

 

</Grid>

 

</

 

 

UserControl>

----------------------------------------------

when we execute this code, we get the exception;

The type 'RadComboBox' was not found because 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input' is an unknown namespace. [Line: 12 Position: 30]

See the attached snapshot for the reference added and the error we are gettting.

looking forward for an early reply.

thanks & regards,
Vijay Chowdhary

 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 May 2012, 06:49 AM
Hi,

 Maybe you need to add reference to the requested assembly?

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Vijay
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or