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

2009 Q3 Radgridview anchor not working

3 Answers 120 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alfred
Top achievements
Rank 1
Alfred asked on 10 Nov 2009, 03:58 AM
I have just upgraded to 2009 Q3 version.

I have a RADform, with a RADGridView, with anchor settings: left, right, top, bottom  (there are other buttons and text box.)

Settings as follows:
RADform:
AutoScaleMode: dpi
WindowsState: Maximized

The RADForm is a MDI child.

I found that sometimes when it is opened (especially the first fime), the RADGridview does not anchored.

But I reopened it, most of the time it can anchor as expected.

3 Answers, 1 is accepted

Sort by
0
Alfred
Top achievements
Rank 1
answered on 10 Nov 2009, 04:26 AM
The image is attached and after recomplied, even after reopened the form, the anchor is not working as well.

Strange.

My machine:
Win XP Eng Prof SP3
DotNet Framework 2.0


(PS.

Afterwards, I noticed that the anchor property is not predictable.  Sometimes it works, sometimes it does not, and sometimes, it just moved to another unexpected location.)
0
Mydatafactory
Top achievements
Rank 1
answered on 10 Nov 2009, 08:43 AM
I am experiencing the same problem after installing 2009 Q3. I have a screen with two gridviews in a splitcontainer. The gridviews are anchored to left, right, top and bottom in their own splitpanel. The windowstate is maximized.

Also the column headers have suddenly disappeared (grid and columns made in designtime with the Q2 2009 version). Please see the 1st attached image.

On another screen, where I have a gridview in a vertically aligned splitcontainer (which itself is in a horizontally aligned splitcontainer) the anchor is working correctly. But there is I have many more problems with the grid which I didnt have with 2009 Q2. See the 2nd attached image.

My specs:
.NET framework 2.0
Windows Vista Home Premium SP1


0
Accepted
Jack
Telerik team
answered on 10 Nov 2009, 10:05 AM
Hello Alfred,

Could you please try setting the AutoSize property of RadGridView controls that you are using to false. After some experiments we discovered that if set to true, AutoSize property of the control might break the Anchor behavior. Please, let me know if this solves the issue.

hi A.Bennen, please try the same work around. If it doesn't solve the issue, please send us your application so we can test and locate the problem. I will be glad to help you further.

Regards,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Alfred
Top achievements
Rank 1
Answers by
Alfred
Top achievements
Rank 1
Mydatafactory
Top achievements
Rank 1
Jack
Telerik team
Share this question
or