Hi,
I have designed a form in windows 7 using telerik winform ,it looks good on windows 7 but when I run the application on windows xp it is not displaying properly , it looks it is not fitting the screen resolution controls(buttons,textfield,labels) are cutting and I can't see full form . please advise how to handle it ?
I tested for same resoltion on both windows 7 and windows xp
Regards
I'm trying to configure the track bar with a threshold value that is greater than the min and less than the max, the user can only go past the threshold value by holding the Control key will dragging the slider. I have tried resetting the value in the Scroll event, that didn’t prevent the slider from continuing or change the value; I reset the value in the ValueChanged event, this did not prevent the slider from continuing but it did reset the value back to the threshold once the mouse was lifted.
I was hoping to have a hard stop at the threshold, is this something that is possible?
Thanks
grid.DataSource = listOfData;
grid.Relations.AddSelfReference(grid.MasterTemplate, "Id", "ParentId"); grid.TableElement.ShowSelfReferenceLines = true;
private
void
radGridView1_ValueChanged(
object
sender, EventArgs e)
{
if
(sender.GetType().ToString() ==
"Telerik.WinControls.UI.GridViewCellInfo"
)
{
//MessageBox.Show(((GridViewCellInfo)sender).ColumnInfo.FieldName);
if
(
bool
.Parse(((GridViewCellInfo)sender).Value.ToString()))
{
foreach
(GridViewRowInfo dr
in
radGridView1.Rows)
{
dr.Cells[0].Value =
true
;
}
}
else
if
(!
bool
.Parse(((GridViewCellInfo)sender).Value.ToString()))
{
foreach
(GridViewRowInfo dr
in
radGridView1.Rows)
{
dr.Cells[0].Value =
false
;
}
}
}
}
Class Toy
{
public Guid Id {get; set;}
public Guid ParentId {get; set;}
public string Name {get; set;}
public int Count {get; set;}
}
ParentToy (id1, null, "Castle", 1)
ChildToy1 (id2, id1, "Knight", 10)
ChildToy2 (id3, id1, "Brick", 100)