Begin creating skins using visual studio

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
11/27/2010 1:31:58 PM
Total Posts 5

Begin creating skins using visual studio

From reading the skinning documents, it seem that I have to manually create skins in notepad or something. Is there any way to create these skins inside visual studio? I want to be able to change a layout of a particular skin with all my visual studio intellisense working. For example, I see the skins have specific controls, like <mojo:mojoLink> etc. Will these be available in the intellisense?


Could I be guided to the correct articles for this?

11/27/2010 2:17:52 PM
Total Posts 550

Re: Begin creating skins using visual studio


You can open layout.master in VS.NET and see what controls are in it and use a css editor like MS SharePoint Disinger to manipulation of css classes. Firebug too is a nice tools that you can see what css applied to page elements and change css properties and see results live  so that  you can apply your wish results to css files that are in your skin folder.

Hope Helps,


11/28/2010 7:20:00 AM
Total Posts 18439

Re: Begin creating skins using visual studio

You can use Visual Studio to edit files including the css files and master page, but you will never see anything approaching the actual design using the Visual Studio designer. The way skins are loaded at runtime is quite different than design time and the VS designer has never been a very good design tool anyway. For skinning you need to edit css (and disable css caching as indicated in our skinning documentation) and refresh the browser to see your changes. You do get intellisense for css when editing css files in Visual Studio.

You may not always get intellisense on mojoPortal controls used in your project. you will get intellisense on some of the controls if they are declared in your web.config and you reference the mojoportal projects and compile it so the dlls get copied to the /bin folder of your custom project. However you may not get intellisense on all the controls especially the ones that are UserControls since the .ascx file doe snot live in your project.

Hope it helps,


You must sign in to post in the forums. This thread is closed to new posts.