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

Exception when I set ColumnsWidthMode="Fill"

4 Answers 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
L uke
Top achievements
Rank 1
L uke asked on 21 Oct 2009, 10:15 AM
When I put line in my xaml file:

<telerik:RadGridView Name="dataGrid" ColumnsWidthMode="Fill" IsReadOnly="True"  AutoGenerateColumns="False" DataLoadMode="Asynchronous"
                             RowIndicatorVisibility="Collapsed" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />

 after removing  ColumnsWidthMode="Fill" works ok





I get:


   w System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   w System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   w System.Windows.Controls.Primitives.ScrollBar.set_ViewportSize(Double value)
   w Telerik.Windows.Controls.GridView.ScrollBarStateController.UpdateScrollBar(ScrollBar scrollBar, ScrollBarProperties properties) w c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\ScrollBarStateController.cs:wiersz 60
   w Telerik.Windows.Controls.GridView.ScrollBarStateController.UpdateVerticalScrollBarsProperties(ScrollBarProperties properties) w c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\ScrollBarStateController.cs:wiersz 49
   w Telerik.Windows.Controls.GridView.GridViewScrollViewer.UpdateScrollBars() w c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:wiersz 503
   w Telerik.Windows.Controls.GridView.GridViewScrollViewer.GridViewScrollViewer_LayoutUpdated(Object sender, EventArgs e) w c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:wiersz 534
   w System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   w System.Windows.ContextLayoutManager.UpdateLayout()
   w System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   w System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   w System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   w System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   w System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Oct 2009, 10:33 AM
Hello,

We believe that this is already fixed in our latest internal build.

Regards,
Vlad
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.
0
L uke
Top achievements
Rank 1
answered on 21 Oct 2009, 10:42 AM
So, waiting for Q3
0
Vlad
Telerik team
answered on 21 Oct 2009, 10:43 AM
Hello,

You can download event now our latest build - you do not have to wait for Q3.

Greetings,
Vlad
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.
0
L uke
Top achievements
Rank 1
answered on 21 Oct 2009, 10:46 AM
but as I follow description of Internal Builds "not recommended for production purpose", so not very usefull for me
Tags
GridView
Asked by
L uke
Top achievements
Rank 1
Answers by
Vlad
Telerik team
L uke
Top achievements
Rank 1
Share this question
or