Problem with Asterick Width for Grid Column

2 posts, 0 answers
  1. StevenDale
    StevenDale avatar
    100 posts
    Member since:
    Apr 2007

    Posted 16 Dec 2009 Link to this post

    I just upgraded to Q3 SP1 and have a problem with the Asterick width for Grid Column Width. Whenever this is used it causes the screen to resize out of control. I have the following example within a window which illustrates the problem even though I am using it on a usercontrol.

    Here is the XAML:
    <Window x:Class="TelerikTestProject.Window1" 
            <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding PatientDiagnoses}"
                    <telerik:GridViewDataColumn Width="*"  Header="Code"  DataMemberBinding="{Binding Path=Code}" />  


    Billy Jacobs
  2. Vlad
    Vlad avatar
    11100 posts

    Posted 21 Dec 2009 Link to this post

    Hello Billy Jacobs,

    I've just tried this however didn't get such problems. Please check the attached project for reference. You may get such behavior if the grid is measured with infinity width however in such cases you will need to specify MaxWidth.

    Best wishes,
    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.
Back to Top