Setting up page title?

Topics: Troubleshooting, Writing modules
Mar 27, 2013 at 5:01 PM
Hi, I am trying to set the page title for a custom module that I have created using the below code:
@Layout.Title("Test")
When I refresh my page, page title is showing correctly but the below code is generated inside my page content. Any ideas why?
 <div class="zone zone-content">

ShapeProxye379b203539c4db5a56089178f8cd1be
Coordinator
Mar 27, 2013 at 6:28 PM
do something like
@{
    Layout.Title = "Test";
}
Mar 28, 2013 at 8:23 AM
Thank you, its working fine now :)