Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing wrapped control's value from ASP

Status
Not open for further replies.

Proy

Programmer
Aug 20, 2001
3
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top