Retrieve text from textox in a dynamically template field from Gridview
-
Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards
-
Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards
-
Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards
It's a viewstate issue. Which event are you using to create the
GridView
? Read about the page lifecycle and viewstate management. ASP.NET will not maintain viewstate for controls created after viewstate events in the page life cycle. :)Navaneeth How to use google | Ask smart questions