Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 02, 2012 08:38 AM by lukepunnett1993
Apr 04, 2012 02:09 PM|LINK
I have a few brief questions regarding ASP.Net and the small business starter kit. I am well aware that these questions may have been answered in the past, however I have had great difficulty finding anything so I would appreciate either answers or a reference
to a location where I can find the answers. Thanks a lot
1) How do you add/edit/remove links from the page navigation?
2) The page is centred by default - how do you left or right align the page?
3) How to change background Images?
Thanks for your help in advance,
Apr 04, 2012 03:26 PM|LINK
Default is the page name & Home is the page title. when you want to link to another page or website you use <a href>
In Internet Explorer, by default the page is centered. But in Firefox and Chrome the page is left aligned by default.
you can change the alignment by doing the following
<table><tr><td align="left">Your content here</td></tr></table>
<table style="background-image: url('images/yourimage.png');">
This will help you add background images
You will have to learn html to start doing these things. A very simple and easy to understand tutorial is available for free at
They are authoritative & the tutorial is very easy to learn.
Hope this helps.
Apr 04, 2012 04:11 PM|LINK
Thank you for taking the time to reply to my post. I am fairly confident with the usual html and I am happy you have provided simple methods for the problems I was having. However the navigation menu in this starter kit some how work via a datasource - I
am not confident with working with this side of the technology so was wondering if there was an easy way of changing the datasource?
Thanks for the advice regarding the use of a table to align the content. However isnt tabular layout unprofessional and dated - I was wondering if there was a more contemporary way of doing this?
Thanks for all the help so far,
Apr 05, 2012 05:10 AM|LINK
You can say that. But tabular or CSS based page styling primarily depends on our application, its structure & usage. Both have their own advantages.
Apr 05, 2012 10:21 AM|LINK
Okay thanks :) The primary issue is changing links that are in the data source?
Is there anywhere I can go to get help with this?
May 01, 2012 12:06 PM|LINK
The method for displaying the navigation links (ie menu) is controlled by the Web.sitemap file.
If you look at solution explorer, you will find it near the bottom of you project files.
The format is
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="Home Page"/>
<siteMapNode url="~/Items.aspx" title="Items" description="Items">
<siteMapNode url="~/ItemDetail.aspx" title="Item" description="Item"/>
<siteMapNode url="~/People.aspx" title="People" description="About Our People"/>
<siteMapNode url="~/News.aspx" title="News" description="News About The Business"/>
<siteMapNode url="~/About.aspx" title="About" description="Business Overview"/>
<siteMapNode url="~/Contact.aspx" title="Contact" description="Contact Information"/>
<siteMapNode url="~/Testimonials.aspx" title="Testimonials" description="Customer's Opinions"/>
You can see the siteMapNodes contain the navigation link items. To add a new link, add a new sideMapNode.
If you are unsure this is so, change one ot the Titles and run the app, you will see the change in the menu.
Make sure the aspx page your siteMapNode refers to exists, else your new navigation link will do nothing.
I hope this helps you, but you can read the help about Site Maps also.
May 02, 2012 08:38 AM|LINK
Thanks for a very well explained, concise answer. It really helped me. I thought that adding extra items to the nav menu would be easy, I never considered it would be quite so bizzare. Thanks for the help again.