Error Msg : the name <textblock> does not exist in the current context RRS feed

  • Question

  • I have this in XAML section:

    <TextBlock x:Name="txtBlkVATtotal" HorizontalAlignment="Left" Margin="1033,484,0,0" TextWrapping="Wrap" Text="TextBlock" Grid.Row="0" VerticalAlignment="Top" Height="38" Width="161"/>

    When I try to reference in code behind, I got above error Message.  I had tried,Build : build, rebuild and clean solution but still can solve. 

    Your help is appreciated.


    Wednesday, January 22, 2014 10:42 AM


  • This is solved. What I did was to close the VS and Open it again.


    Wednesday, January 22, 2014 11:25 AM