Okay....I'm pulling out what little hair I have left trying to find all the properties tied in with the "Message" function. I'm having pretty much no luck. Can someone point me in the right direction where I can find a valid list of all the properties of that
function as well as ALL other functions in WM? My kingdom for INTELLISENSE!!! Intellisense makes developers sooooo lazy! But it makes life easier for us too!
I think "Message" in your instance is likely to be a web control (such as a Label), and
not a function. For example:
<script runat="server">
Sub Page_Load( Byval sender As Object, ByVal eArgs As EventArgs )
Message.Text = "I am a Label web server control"
End Sub
</script>
<form runat="server">
Label
</form>
You will see in the <form> part of my page that I have added an asp:Label web control, and given it the id of "Message". Then, in the Page_Load method, I have given that control's text property the value of "I am a Label
web server control". To answer your other question, if you look at the bottom right of the Web Matrix window, the second tab reads "Classes". That is where you will find a list of all properties and methods of the classes in the .NET framework. Some properties
and methods will be hidden unless you click on the checkbox to "Show Inherited Members".
Cowski
Member
20 Points
4 Posts
"Message.text" function
Sep 19, 2003 02:11 AM|LINK
SomeNewKid
All-Star
45894 Points
8027 Posts
Re: "Message.text" function
Sep 19, 2003 11:06 AM|LINK
<script runat="server"> Sub Page_Load( Byval sender As Object, ByVal eArgs As EventArgs ) Message.Text = "I am a Label web server control" End Sub </script> <form runat="server"> Label </form>You will see in the <form> part of my page that I have added an asp:Label web control, and given it the id of "Message". Then, in the Page_Load method, I have given that control's text property the value of "I am a Label web server control". To answer your other question, if you look at the bottom right of the Web Matrix window, the second tab reads "Classes". That is where you will find a list of all properties and methods of the classes in the .NET framework. Some properties and methods will be hidden unless you click on the checkbox to "Show Inherited Members".