jeffchs Posted October 9, 2003 Posted October 9, 2003 Someone please tell me I am overlooking something here. Is there an assembly reference I need to use this property? NewQuestionNum is an asp:textbox. The Response.Write is just test code I'm using becaue the property didn't work in another portion of my code. code: Response.Write(newQuestionNum.TextLength); error: CS0117: 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'TextLength' Quote
ultraman Posted October 9, 2003 Posted October 9, 2003 try : newQuestionNum.Text.Length Quote Now go on, boy, and pay attention. Because if you do, someday, you may achieve something that we Simpsons have dreamed about for generations: You may outsmart someone! --Homer Simpson
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.