J
Jeremy Ames
I have run into a major road block with my page development projects. I am
trying to add a literal control to my asp.net page and I got an error
stating that the control could not be added because of code blocks (<% %>)
on the page. Most of these blocks can be handled by adding a label control
to the form so it is not that big of deal, but one of the things being
posted is the page title. I am not sure how I can access that from the code
behind page. I also call a function that creates a css style sheet as well
as a function that creates my navigation bar for the web site. Is there a
way for me to get around the error without moving the code blocks? If not,
how can I implement the changes for the three problem areas?
trying to add a literal control to my asp.net page and I got an error
stating that the control could not be added because of code blocks (<% %>)
on the page. Most of these blocks can be handled by adding a label control
to the form so it is not that big of deal, but one of the things being
posted is the page title. I am not sure how I can access that from the code
behind page. I also call a function that creates a css style sheet as well
as a function that creates my navigation bar for the web site. Is there a
way for me to get around the error without moving the code blocks? If not,
how can I implement the changes for the three problem areas?