Hello,
I have a radgridview where one column is an edit button which redirects the page and the rest of the columns are databound from my source.
My problem is that to be able to press the edit button on a specific row for the first time the user basically has to press it twice because the first click for some reason focuses the entire gridview first into view.
**small edit**
This only happens when the entire gridview does not fit into the view so I am guessing it tries to automatically fit itself as best as it can before it lets me press the edit button - it does not happen if i press on any of the static uneditable fields - only on the edit button
Is there a way to prevent this focus from happening when I press on an edit button inside the grid? or am I missing something else
                                I have a radgridview where one column is an edit button which redirects the page and the rest of the columns are databound from my source.
My problem is that to be able to press the edit button on a specific row for the first time the user basically has to press it twice because the first click for some reason focuses the entire gridview first into view.
**small edit**
This only happens when the entire gridview does not fit into the view so I am guessing it tries to automatically fit itself as best as it can before it lets me press the edit button - it does not happen if i press on any of the static uneditable fields - only on the edit button
   <telerik:RadGridView Name="radGridView"  VerticalAlignment="Top" AutoGenerateColumns="False" Grid.Row="2" ValidatesOnDataErrors="None" IsReadOnly="True" ShowColumnSortIndexes="True" CanUserFreezeColumns="False" ItemsSource="{Binding PagedSource, ElementName=radDataPager}" >                <telerik:RadGridView.Columns><br>                    <telerik:GridViewColumn Header="Edit"><br>                        <telerik:GridViewColumn.CellTemplate><br>                            <DataTemplate><br>                                <Button Content="Edit" Style="{StaticResource HyperLinkButtonStyle}"<br>                                            Click="EditButton_Click" /><br>                            </DataTemplate><br>                        </telerik:GridViewColumn.CellTemplate><br>                    </telerik:GridViewColumn><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Organization}" Header="Organization"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding VisitDate, StringFormat=d}" Header="Visit Date"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Location}" Header="Location"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Address}" Header="Address"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactPersonName}" Header="Contact Name"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactPersonEmail}" Header="Contact E-mail"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactMobileNumberConcatenate}" Header="Contact Mobile Number"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactHomeNumberConcatenate}" Header="Contact Home Number"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactOfficeNumberConcatenate}" Header="Contact Office Number"/><br>                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ContactFaxNumberConcatenate}" Header="Contact Fax Number"/><br>                </telerik:RadGridView.Columns><br>            </telerik:RadGridView>Is there a way to prevent this focus from happening when I press on an edit button inside the grid? or am I missing something else