use of <% in template

  • Thread starter Thread starter Capior
  • Start date Start date
C

Capior

hello,

i've created - as described in
http://www.asp-buch.de/articles/2002-06-26-1.aspx - a global layout for my
website.

now i want to use some code/variables in it. but as far as i use <% ... %>
to display my variables the global layout seems to be deleted. the template
is shown isolated...

how can i display vars in my template by avoiding the use of controls.

thank you, bye
capior
 
how can i display vars in my template by avoiding the use of controls.

You can't. All user interface in ASP.Net is Controls. Even if you type HTML
in your Page Template, at run-time it is converted to a LiteralControl.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top