Datagrid FindControl

H

Hitz

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
 
A

Alvin Bruney [MVP]

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 said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top