Hi,
I have three GridViewComboBoxColumn in RadGridView. Each Combobox column has display name and selected value code. When I assign the value, corresponding values are assigning correctly. But when when I fetch the row, Code value is coming as null and code value is displaying in name. I have attached the image.
The following code I have used to bind data to GridViewComboBoxColumn.
((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).ItemsSource = CompanyList;
((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).DisplayMemberPath = "Company_Name";
((GridViewComboBoxColumn)this.dataGrid.Columns["Company_Name"]).SelectedValueMemberPath = "Company_Code_Hdn";
Hello.
I want to know about how to visible the minimizeButton in 'Floating Window'.
private void CtrlWorkbenchDoc_FloatingWindowCreated(object sender, FloatingWindowEventArgs e)
{
e.Window.FormElement.TitleBar.MinimizeButton.Visibility = ElementVisibility.Visible;
e.Window.FormElement.TitleBar.CloseButton.Visibility = ElementVisibility.Collapsed;
e.Window.ControlBox = true;
e.Window.MaximizeBox = true;
e.Window.MinimizeBox = true;
}
I wrote the above code but minimizeButton were not showed in 'Floating Window'.
So, I want to know about another ways.
Thanks.
How do I change the mouse icon to the hand when user hovers the mouse over the items in the DDL?
I've bound a RadBinding Navigator to a binding source
every thing is ok Before any event is fired like
Move to first item
Move to previous item
Move to next item
Move to last item
unfortunately after One of the above event is fired , all the buttonS (first ,previous,next,last ) Get Disabled.
Can You Help Me?
I want the cell value from RadVirtualGrid as the user selects a row.
I don't have multi-select enabled.... And, I have row select.... So, there should be only one row selected at a time.
I'd like the text or number that appears in one of the columns. For example, the text value of the first column (0)
How is this obtained?
Hello,
why isn't my header shown like inside the designer?
Thank you for helping.
Regards
I have a business object ,
public
class
Person
{
public
string
Name {
get
;
set
;}
public
bool
Show {
get
;
set
;}
public
class
Company {
get
;
set
;}
}
public
class
Company
{
public
string
Name {
get
;
set
;}
public
string
Address {
get
;
set
;}
}
I expect that Company will hide when the Show is false, and vise versa.
I have a customize object just like this.
01.
public
class
Person
02.
{
03.
[CategoryAttribute(
"Personal Info."
)]
04.
public
Name Name {
get
;
set
; }
05.
[CategoryAttribute(
"Personal Info."
)]
06.
public
int
Age {
get
;
set
; }
07.
[CategoryAttribute(
"Profession Info."
)]
08.
public
Profession Profession {
get
;
set
; }
09.
}
10.
11.
public
class
Profession
12.
{
13.
private
Title title_;
14.
15.
public
string
Company {
get
;
set
; }
16.
public
string
Address {
get
;
set
; }
17.
public
Title Title
18.
{
19.
get
{
return
title_; }
20.
set
21.
{
22.
title_ = value;
23.
if
(title_ == Title.Manager)
24.
{
25.
// hide property subordinates
26.
}
27.
else
if
(title_ == Title.Developer)
28.
{
29.
// show property subordinates
30.
}
31.
}
32.
}
33.
34.
public
List<Person> Subordinate {
get
;
set
; }
35.
}
Is there a way to show or hide Subordinate according to the property Title? When I selected the Title with Manager, the subordinate will appear. When I selected the Title with Developer, the subordinate will hide.
I have a hierarchy
public
class
Corner
{
public
string
Name {
get
;
set
; }
}
public
class
Fillet : Corner
{
public
double
Radius {
get
;
set
; }
}
public
class
Chamfer : Corner
{
public
double
Distance1 {
get
;
set
; }
public
double
Distance2 {
get
;
set
; }
}
and a business object,
public
enum
CornerMode
{
Fillet,
Chamfer
}
public
class
CornerAttribute
{
public
CornerMode CornerMode {
get
;
set
;}
public
Corner Corner {
get
;
set
;}
}
I will assign a subclass instance according to the CornerMode. How to switch the type convert at runtime so that the property Corner can be expandable?