I am using a text box[I would be using a rich text box instead later on] wrapped in a user control(.ocx) in my ASP page. This control is embedded in the page using the object tag. I have defined a property called Text in my control for storing the contents of the text box. I'm able to access it's value from the client side by using a statment like this :
document.form1.TextControl1.Text
When I try to retrieve the same value from the server end using the Request.form("TextControl1" statment nothing is displayed. Why is the value not getting passed to the server end? Do I have to write any special properties or methods while designing the user control so that it gets behaviour similar to the text box?
Thanks,
Proy
document.form1.TextControl1.Text
When I try to retrieve the same value from the server end using the Request.form("TextControl1" statment nothing is displayed. Why is the value not getting passed to the server end? Do I have to write any special properties or methods while designing the user control so that it gets behaviour similar to the text box?
Thanks,
Proy