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
|