Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
509 Points
980 Posts
Apr 04, 2012 02:54 PM|LINK
i m putting corect id
but i really dont knw wht the prb is????
Dim objTextBox As TextBox = DirectCast(PageContentSection.FindControl(id ), TextBox) Dim str As String = objTextBox.Text
showing 1 error
i dont knw y,now i m using id=ctl00_InnerContent_1004
still its not showing ne thing
Smadhu
Member
509 Points
980 Posts
Re: how to get value from dynamic created text box
Apr 04, 2012 02:54 PM|LINK
i m putting corect id
but i really dont knw wht the prb is????
Dim objTextBox As TextBox = DirectCast(PageContentSection.FindControl(id ), TextBox)
Dim str As String = objTextBox.Text
showing 1 error
Object reference not set to an instance of an object.
i dont knw y,now i m using id=ctl00_InnerContent_1004
still its not showing ne thing