I've got a textbox inside a Grid View and I'm able to find that control and even cast. I'm wondering if it is posting back and losing it's value or something. To String()) ' ID is your grid Data Key Names Dim gvr As Grid View Row = Grid View1. Row Index) Dim Text Box1 As Text Box = Direct Cast(gvr.I'm betting I'm missing something simple but this problem is really important and I need fast resolution as it has already cost me a good deal of time. Find Control("Text Box1"), Text Box) ' Now you have the new value in Text Box1 Please, let me know if that helped...Here is my declaration inside the gridview First off, you can only extract references to controls within the Edit Item Template when updating. Hey Ahillyer, Please do the following : Dim file ID As Integer = Integer. So, you mean just change the Item Template to Edit Item Template?The control you are trying to reference is within the Item Template which can't be referenced during the Grid View. As you can see, I've not done this before - actually, I did like 3 or 4 years ago but I don't remember.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.