Click here to Skip to main content
15,121,790 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hi to all,
Here i want to set navigation menu for my task

DESCRIPTION:
Here i set navigation menu like home>user>about in that navigation i want to set image before home user and about

Here already i used mvcsitemap but i dont know how to set. so leave that function can anybody tell another method for this task.Kindly teach me.
Posted

   
Comments
JOTHI KUMAR Member 10918227 21-Aug-14 8:14am
   
Thanks for reply i already done this method but i want to add images infront of home.and about so i want to need that Can you help me for that
Yogesh Kumar Tyagi 21-Aug-14 8:26am
   
Than hide Home on client side by javascript or jquery and use image button on this button click
call a "js" function that click your home text link.
JOTHI KUMAR Member 10918227 21-Aug-14 8:56am
   
sorry to say this i cant understand so kindly explain me briefly.
Here i used mvc.sitemapp code:-
mvcsitemapnode imageurl="/content/images/printer-128.png" title="Home" resourcekey="Home" controller="Home" action="Index"

mvcsitemapnode title="Branch" controller="Branch" action="Index" resourcekey="Content" imageurl="~/content/images/printer-128.png"> <div id="EditDialogPlaceholder"></div> <div id="ReplyDialogPlaceholder"></div>
   
Comments
JOTHI KUMAR Member 10918227 20-Aug-14 2:54am
   
hey gihan thanks for reply i already used this but i cant set image if i type imageurl the i gave path for images but cant set and images path should start ~ or / all i tried but no use.can u explain another method or teach set image path

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900