Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 4th, 2006, 03:29 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default text-property in a non-server control

Hi,

how do I set the text-property of a html control that isn't a server control when the page loads?
In my book, they use the following code:
Protected Sub Page_Load (byval...) handles Me.Load
document.all.txtClientTextField.value="click the button -->"
End Sub

but then a message saying that document is not declared shows up in my error list. htmldocument is a member of system.windows.forms which I don't seem to be able to import into the class
Partial Public Class _Default
Inherits System.Web.UI.Page

This is probably easy, but I'm quite new in the game, so a helping hand will be greatly appreciated :)

-elisabeth
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server side on code on control property jayaraj123 ASP.NET 2.0 Professional 1 May 23rd, 2007 08:30 AM
Control a text box property from an Event rit01 ASP.NET 2.0 Basics 15 October 11th, 2006 02:33 PM
Set the Text Property of Label Control via JavaScr AbrarNazeer Java Basics 0 August 24th, 2006 01:46 AM
Set the Text Property of Label Control via JavaScr AbrarNazeer ASP.NET 2.0 Professional 0 August 24th, 2006 01:41 AM
User Control Name in a Text Property laslanid Pro VB.NET 2002/2003 0 February 24th, 2005 04:31 AM



All times are GMT -4. The time now is 05:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.