Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2012 05:32 PM by dd1234
Feb 27, 2012 11:45 AM|LINK
I have following problem. I insert new row into the table using gridview control footer template. Everything works fine but I would like to set default (initial) value fo textbox in footer template. I have no idea how to do it. Please give me some hint.
Feb 27, 2012 12:35 PM|LINK
You need to use the FindControl method of the GridView control. For example:
var textbox = GridView1.FindControl("TextBox1");
Feb 27, 2012 12:39 PM|LINK
Feb 27, 2012 05:32 PM|LINK
Thanks all of you. I have just realized, that I have to use onbound method to do so.