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

Remove Tabstop on gridviewcell when the templated control is Disabled

1 Answer 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Srikanth
Top achievements
Rank 1
Srikanth asked on 15 Jan 2013, 03:02 PM
 <gridColumns:BetaTextBoxColumn Header="Price" Width="80" IsVisible="{Binding Source={StaticResource ParentViewModel}, Path=DataSource.PositionsColumnsVisible}" >
    <telerik:GridViewColumn.CellTemplate>
          <DataTemplate >
             <TextBox 
                Text="{Binding [_20047].Value,UpdateSourceTrigger=PropertyChanged,  Mode=TwoWay}" 
                commonUI:ExtendedProperties.RegEx="{Binding Path=[_20047].RegEx}" 
                IsEnabled="{Binding Path=[_20047].IsEnabled}"                                        
                Height="20" MinHeight="20">                      
              </TextBox>
           </DataTemplate>
     </telerik:GridViewColumn.CellTemplate>
  </gridColumns:BetaTextBoxColumn>

I am trying to remove tabstop on the gridview cell when the Template control inside the cell is disabled.
In the above example I have a text box column where the "IsEnabled" property of the textbox is bound to some property on the View model. I am looking to remove/skip tabstop on the gridview cell when the control is disabled.

Any suggestions please?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Jan 2013, 03:29 PM
Hello,

I have just replied to your original thread on the same topic. Please let's keep the communication in one single thread.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Srikanth
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or