Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2010
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Access controls in Edit mode of DetailsView

    Hello ,

    I try to access TextBox in edit mode of Detais view to take an updated text then updated the data base ,
    but I have some problem , the TextBox look like as empty text .
    this is my code , I tried to put it inside ItemUpdated event , and ItemUpdating event

    Code:
      TextBox tb = (TextBox)DetailsView1.FindControl("tb1");
                Query.ColumnName = tb.Text;
    what the problem here ?

  • #2
    New Coder
    Join Date
    May 2010
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts
    thank you , we solve it (:
    by binding detaisview again


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •