none
Can't see Label controls in code behind. RRS feed

  • Question

  • Hi folks,

    I'm using vb.net, I've put a few label controls on default.aspx. I want to set the text in the code behind but I can access them. can't think what I've done, all the other pages in that project have no issue with labels.

    Anyone any idea how this could have happened?

    thanks in advance,

    Billy
    • Moved by Jeff Shan Monday, March 8, 2010 2:50 AM redirected to ap.net forum (From:Visual Basic General)
    Thursday, March 4, 2010 3:09 PM

All replies

  • Try posting your question to one of the ASP.NET forums:

    http://forums.asp.net/


    Paul ~~~~ Microsoft MVP (Visual Basic)
    Thursday, March 4, 2010 3:25 PM
  • Click on one of them, then there should be created a click event.

    Gives you some probably some information about the labels.

    (Are you sure the header is the set to the right class and telling it is using code behind?)


    Success
    Cor
    Thursday, March 4, 2010 4:16 PM
  • Click on one of them, then there should be created a click event.

    Gives you some probably some information about the labels.

    (Are you sure the header is the set to the right class and telling it is using code behind?)


    Success
    Cor
    I've disovered its because it in a login view. Probablt best post this in the asp.net forums.

    Thanks anyway!

    Billy
    Friday, March 5, 2010 9:33 AM