More in this section

Forums / General Discussions / Creating template using Visual studio

Creating template using Visual studio

2 posts, 0 answered
  1. don collins
    don collins avatar
    9 posts
    06 Sep 2009
    15 Jan 2010
    Link to this post
    Hello, not sure if this is the right spot for this thread but here goes. I am developing a template using Visual Studio 2008. My question concerns customizing the site nav bar for my template. I have an image that I want to use for the nav buttons on the website template Im making. Here is the problem: I can get the button I want to show up but the text for the parent node appears either below or next to the button. How do I get the text to appear ON the button. I do not see any way to do this on the "properties tab" . Im new at Visual Studio so any help would be appreciated. I suppose I could just edit my "button" jpeg in Windows Paint to add the text but Id rather not go that route. Any suggestions? Please take pity on this newbie  LOL. Thanks, Don
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    15 Jan 2010
    Link to this post
    Hi don collins,

    Generally it is better to create only the images for your menu ( say RadMenu) because you can archive this with several rows of code. Otherwise you need to set the image to each element and then use css classes to get the RadMenuItem text or NavigateUrl over the image using z-index - your text should overlay the image.

    You may find the follwing articles useful

    Adding Images to Items
    CSS Skin File Selectors
    Understanding the Skin CSS File

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered