Datagrid FindControl

Discussion in 'ASP .Net Web Controls' started by Hitz, Feb 12, 2004.

  1. Hitz

    Hitz Guest

    Hi guys

    I have added one textbox and Linkbutton at the footer of the datagrid. Now, when i press the linkbutton to save the data from the textbox the textbox value returns blank. For this i am writing the code as per below

    dim tb as TextBox = e.Item.FindControl("TextBox1"

    but this value returns me blank. Have you guys got any idea about this question. If you can give me some focus on it then it will be appreciated
     
    Hitz, Feb 12, 2004
    #1
    1. Advertising

  2. Your post went unanswered. Have you resolved this issue?

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "Hitz" <> wrote in message
    news:...
    > Hi guys,
    >
    > I have added one textbox and Linkbutton at the footer of the

    datagrid. Now, when i press the linkbutton to save the data from the textbox
    the textbox value returns blank. For this i am writing the code as per
    below.
    >
    > dim tb as TextBox = e.Item.FindControl("TextBox1")
    >
    > but this value returns me blank. Have you guys got any idea about this

    question. If you can give me some focus on it then it will be appreciated
     
    Alvin Bruney [MVP], Mar 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sid
    Replies:
    4
    Views:
    606
  2. Dave

    Datagrid FindControl in Footer

    Dave, Nov 14, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    3,117
  3. Mike Speak

    DataGrid FindControl HELP...

    Mike Speak, Nov 19, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    661
    Mike Speak
    Nov 19, 2003
  4. Ruby

    findcontrol in datagrid footer

    Ruby, Jan 28, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,833
  5. =?Utf-8?B?Qkc=?=
    Replies:
    0
    Views:
    821
    =?Utf-8?B?Qkc=?=
    Dec 27, 2004
Loading...

Share This Page