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

[Solved] Unkown\Un Specificed Shape appearing in GridView Control

4 Answers 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Keith
Top achievements
Rank 1
Keith asked on 05 Jan 2011, 12:37 PM
Hey
I have attached a png of a square shape which appears in all my GridViews. I dont know what it is and I cant figure out how to remove it. I attached a png of the shape.

Any advice or help here would be appreciated - It looks like a buton but its not clickable!

Thanks
Keith

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 05 Jan 2011, 04:58 PM
Hi Keith,

 
This is the ScrollPositionIndicator in your RadGridView, which appears since the ScrollMode property  of RadGridView is set to Deferred, by default this value is set to RealTime.

If you need any further assistance, please let me know.

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Keith
Top achievements
Rank 1
answered on 05 Jan 2011, 06:07 PM
Hi Vanya
Thanks allot for the quick reply but all my RadGridViews are set to RealTime. I changed them to deferred to test that too and it made no difference :-(

Here is the basic xaml.. I just changed the column names etc


<telerik:RadGridView Name="gridAllData" ScrollMode="RealTime" ReorderColumnsMode="DropIndicator" AutoGenerateColumns="False" ItemsSource="{Binding AllJobsView}" AreRowDetailsFrozen="True" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserSelect="False" IsScrolling="True"  HorizontalAlignment="Left"   IsReadOnly="True" MinWidth="1316" MaxHeight="1100" Grid.ColumnSpan="3" Width="Auto" Margin="0" VerticalAlignment="Top">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col1" DataMemberBinding="{Binding Col1}" />
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col2" DataMemberBinding="{Binding Col2}" />
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col3" DataMemberBinding="{Binding Col3}" />
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col4" DataMemberBinding="{Binding Col4}" />
                            <telerik:GridViewDataColumn MaxWidth="100"  Header="Col5" DataMemberBinding="{Binding Col5}" />
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col6" DataMemberBinding="{Binding Col6}" MinWidth="21" />
                            <telerik:GridViewDataColumn MaxWidth="200" Header="Col7" DataMemberBinding="{Binding Col7}" TextWrapping="Wrap" />
                            <telerik:GridViewDataColumn Header="Col8" DataMemberBinding="{Binding Col8}"/>
                            <telerik:GridViewDataColumn MaxWidth="120" Header="Col9" DataMemberBinding="{Binding Col9}" TextWrapping="Wrap"/>
                            <telerik:GridViewDataColumn MaxWidth="100" Header="Col10" DataMemberBinding="{Binding Col10}"/>
                            <telerik:GridViewDataColumn MaxWidth="200" Header="Col11" DataMemberBinding="{Binding Col11}" TextWrapping="Wrap" />
                            <telerik:GridViewDataColumn Header="Col1" DataMemberBinding="{Binding TestedDate}" />
                        </telerik:RadGridView.Columns>         
</telerik:RadGridView>
0
Accepted
Vanya Pavlova
Telerik team
answered on 06 Jan 2011, 05:02 PM
Hi Keith,

 
Thank you for sending this snippet. In your xaml markup the IsScrolling property of RadGridView is set to True. This property is used to determine whether the user is currently fast scrolling and internally is bound to the Visibility property of RadGridView's ScrollPosition indicator. Just remove this property from RadGridView's definition and the issue will be resolved. However I am curious to understand are you trying to achieve something special with setting IsScrolling property of RadGridView to True? If that is the case we could think about some alternative without setting this property.

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Keith
Top achievements
Rank 1
answered on 06 Jan 2011, 05:28 PM
No I am not trying to achieve anything special with the IsScrolling  property and I think its there from the first implementation of this GridView, when I was having scrolling issues.

Removing this property worked brilliantly to remove it.

I apprecaite the solution, as I was convinced it was something else.

Thanks
Keith
Tags
GridView
Asked by
Keith
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Keith
Top achievements
Rank 1
Share this question
or