web dev template 2010 dans 2008 express

Resource Page Description
Comment utiliser le web dev template de 2010 dans le express edition 2008 Web Developer IDE




Bonjour a tous

Voici comment utiliser le template de page web de Web Developer Express 2010
Dans Web Developer Express 2008 en fait a partir du framework 2.0 a 3.5

Dans la section account
Retirer cette section du code
situe dans Register.aspx

<LayoutTemplate>
<asp:PlaceHolder ID="wizardStepPlaceholder" runat="server"></asp:PlaceHolder>
<asp:PlaceHolder ID="navigationPlaceholder" runat="server"></asp:PlaceHolder>
</LayoutTemplate>

Puis dans Site.css

Remplacer la section TAB MENU par la suivante

/* TAB MENU
----------------------------------------------------------*/

.hideSkiplink
{
background-color:#3a4f63;
width:100%;
}

.menu
{
padding: 4px 0px 4px 8px;
list-style: none;
margin: -16px 0px 0px 0px;
width: auto;
}

.menu a, .menu a:visited
{
background-color: #465c71;
border: 1px #4e667d solid;
color: #dde4ec;
display: block;
line-height: 1.35em;
padding: 4px 20px;
text-decoration: none;
white-space: nowrap;
}

.menu a:hover
{
background-color: #bfcbd6;
color: #465c71;
text-decoration: none;
}

.menu a:active
{
background-color: #465c71;
color: #cfdbe6;
text-decoration: none;
}

Cela reduit une bonne partis des probleme de recherche de code de remplacement

En suite il se peut que selont votre configuration que debug vous demande rajouter une ligne dans votre web.config
Dans le genre :: <identity impersonate ="" password ="" userName =""/>

placer ceci a la place

<identity impersonate ="false"/>

devrait plus avoir de probleme.


Voila! c'est tout


//************************************************************************************************//

English translation By Google

Hello all

How to use the template web page Web Developer Express 2010
In Web Developer Express 2008 has in fact from framework 2.0 to 3.5

In the account section * *
Remove this section of code
located in Register.aspx

<LayoutTemplate>
<asp:PlaceHolder ID="wizardStepPlaceholder" runat="server"> </ asp: PlaceHolder>
<asp:PlaceHolder ID="navigationPlaceholder" runat="server"> </ asp: PlaceHolder>
</ LayoutTemplate>

Then in Site.css

Replace the section with the following TAB MENU

/ * TAB MENU
-------------------------------------------------- --------*/

. HideSkiplink
{
background-color: # 3a4f63;
width: 100%;
}

. Menu
{
padding: 0px 4px 4px 8px;
list-style: none;
margin: 16px 0px 0px-0px;
width: auto;
}

. A menu. Menu a: visited
{
background-color: # 465c71;
border: 1px solid # 4e667d;
color: # dde4ec;
display: block;
line-height: 1.35em;
padding: 4px 20px;
text-decoration: none;
white-space: nowrap;
}

. Menu a: hover
{
background-color: # bfcbd6;
color: # 465c71;
text-decoration: none;
}

. Menu a: active
{
background-color: # 465c71;
color: # cfdbe6;
text-decoration: none;
}

This reduced much of the problem of finding replacement code

As a result it may be possible that debug request you to add a line in your web.config
Look like this.. <identity impersonate ="" userName="" password ="" />

put this instead

<identity impersonate ="false"/>

should not have any problems.


Voila! that's it
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章