Hello Telerik team,
I used to have set of columns that have a MinWidth and MaxWidth set by designs. Resizing is allowed.
The MinSize is being used to set a default minimal width when shown initially
Once the control has been painted it should set the minimum width of the rows to Zero, so that the user can adjust the width to their own desire.
This is shown in the following code...
private bool _isFirstPaint = true;
private void MyGridViewContainer_Paint(object sender, PaintEventArgs e)
{
if (_isFirstPaint == true)
{
//after 1st draw, we reset the minimum column width so that the collumns can be resized by the user below the initial minimum width set by design.
foreach (GridViewColumn column in this.radGridView1.Columns)
{
column.MinWidth = 0 ;
}
this.Paint -= new PaintEventHandler(MyGridViewContainer_Paint
_isFirstPaint = false;
}
else
{
_isFirstPaint =
false;
}
}
The problem is that this used to work with the 2008Q2 version, but not with the above versions.
Since we now switched to 2008.3.1204 and just a little later to 2008.3.1321, this problem has arrisen.
Please let us know what to do to overcome this change in behaviour.
Kind regards,
Jack