codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Property  sardinka at 20:04 on Tuesday, June 08, 2004
 

I have a .ascx (user control) where I am setting the property:
Private m_schoolID As String
Public Property SchoolID() As String
Get
Return m_schoolID
End Get
Set(ByVal Value As String)
m_schoolID = Value
End Set
End Property
And trying to set the property after the following code in a .aspx page
Dim template1 As ITemplate
Dim SchoolID As String
SchoolID = "123"
template1 = Page.LoadTemplate("Details.ascx")
template1.SchoolID = SchoolID
However my last line will not compile:
template1.SchoolID = SchoolID
I can't see why? please help







CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  calling Functions from VC .LIB Files inside VB
•  calling Functions from VC .LIB Files inside VB
•  Function help needed
•  Re: Auto-Populating fields in a form
•  Problem ocureed when i placed my working folder up to the server
•  Problem occured when i placed my working up to the server
•  need to reset array length to zero
•  tellafriend
•  Code Snippets


Recent Articles
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)
Function to Return Alpha Characters Only
The OSI Reference Model - A Clear and Concise Illustration !
Understanding Pointers to Functions in C
Application & Session Events in the Global.asax File
Socket Programming in Perl


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2004