sysernst
Posts: 1
|
| Posted: 04/12/2006, 7:01 AM |
|
Hi, i'm verly new to this so here is my question.
I want to display a variable somwhere on the page and did the following:
From the Forms tab i placed a label
I didnt change the name, still is label1
In the before show event i placed the following code:
EventCaller.TemplateBlock.Variable("Label1") = "Test"
also tried
Label1.Value = CCDLookUp("Bedrijfsnaam", "Klanten","Klant_Record_id = "& Session("UserID") ,DBConnection1)
Tried some other things but nothing gets displayed on the page
Should i change any setting on the Data tab ?
please Help
|
 |
 |
Chris_T
|
| Posted: 04/12/2006, 8:50 AM |
|
Here's what I did to get a label to show the word "test" :
Went to Forms tab, placed label, called Label1
Went to Properties, Data (for the label) and in Default value I put "Test" (with the quotes)
I didn't assign it to a database (control source)
It showed up on the page for me.
|
|
|
 |
Ernst
|
| Posted: 04/12/2006, 12:50 PM |
|
Thanks for the reply,
Did exactly that, but nothing shows
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 04/12/2006, 2:03 PM |
|
This looks very strange, maybe the page is corrupted. Maybe try deleting your PageName.asp, then switch back to Design/Live to regenerate it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Ernst
|
| Posted: 04/13/2006, 1:56 AM |
|
Thank Peterr
did just that and got it to work
|
|
|
 |
|