Remove Tabstop on gridviewcell when the templated control is Disabled

2 posts, 0 answers
  1. Srikanth
    Srikanth avatar
    7 posts
    Member since:
    Aug 2012

    Posted 15 Jan 2013 Link to this post

     <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?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Jan 2013 Link to this post

    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.

Back to Top