I created a template column with a textbox in the FooterTemplate. Let's say it has an id of "txtInputInFooter".
I would like to retrieve the Text property of the textbox on postback but I am unable to find a way to do so.
I have tried to handle the ItemCommand event and using the following code:
DirectCast(e.Item.FindControl("txtInputInFooter"), TextBox).Text
I get a blank value every time.
This seems like it should be a no brainer, is there something I am missing?
Thanks in advance.
I would like to retrieve the Text property of the textbox on postback but I am unable to find a way to do so.
I have tried to handle the ItemCommand event and using the following code:
DirectCast(e.Item.FindControl("txtInputInFooter"), TextBox).Text
I get a blank value every time.
This seems like it should be a no brainer, is there something I am missing?
Thanks in advance.