Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 4th, 2006, 03:29 AM
Registered User
 
Join Date: Jul 2006
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.