Hi
I am using RadControls for WinForms Q2 2010 SP1 with .NET 3.5.
I implemented interface INotifyPropertyChanged on object that I bound to grid.
Properties of objects change but values in grid are not changed.
It works fine with Microsoft grid.
How can I solve this problem?
Regards
I am using RadControls for WinForms Q2 2010 SP1 in .NET 3.5.
I would like to bound hierarchy structure to RadGridView that is not DataSet.
My structure is quite simple:
1. On the top is class ContentTargetFolder:
public
class
ContentTargetFolder
{
private
string
_name;
public
string
Name {
get
{
return
_name; } }
/*…here I have other properties to display*/
private
List<Package> _packages;
public
List<Package> Packages {
get
{
return
_packages; } }
…
}
2. Package class:
public
class
Package
{
/*…Properties to display…*/
private
List<PackageItem> _packageItems =
new
List<PackageItem>();
public
List<PackageItem> PackageItems {
get
{
return
_packageItems;}}
…
}
3. PackageItem class:
public
class
PackageItem
{
/*…Properties to display…*/
}
I have List< ContentTargetFolder> CTFs object and I do this:
this
.radGridView1.BeginUpdate();
this
.radGridView1.MasterTemplate.Reset();
this
.radGridView1.AutoGenerateHierarchy =
true
;
this
.radGridView1.DataMember =
string
.Empty;
this
.radGridView1.DataSource = CTFs;
this
.radGridView1.EndUpdate();
The problem is that I get flat list, Packages property from class ContentTargetFolder is displayed as normal property it is not treated as collection of objects.
How can I solve this problem?
Regards
Hi,
I want to uninstall winForms Q1 2010 SP2 for VS2010, it shows like below several hours.
"Please wait while configures Telerik RadControls for WinForms Q1 2010 SP2".
Any good idea solve this?
Software I had installed:
1. VS2005
2. VS2008
3. Telerik premium collection for .net (Q1 2010 SP2) [&& WinForms Q1 2010]
4. uninstall VS2005
5. install VS2010
6. uninstall/reinstall ASP.NET Q1 2010 SP2 (it's ok)
7.uninstall WinForms Q1 2010 SP2 (no results)
hope this information usabled.
CultureInfo cultureInfo;
switch
(Product.Currency)
{
case
"EUR"
:
cultureInfo =
new
CultureInfo(
"fr-FR"
);
break
;
case
"GBP"
:
cultureInfo =
new
CultureInfo(
"en-GB"
);
break
;
default
:
cultureInfo =
new
CultureInfo(
"fr-FR"
);
break
;
}
radGridViewSupplierProducts.MasterGridViewTemplate.Columns[
"Price"
].FormatInfo = cultureInfo;