To add own form on the desktop Web application, you need:
- To open a file site map ASP.NET (
web.sitemap
default). - Add the necessary elements of the menu tree.
Was:
<?xml version="1.0" encoding="utf-8"?>
<!-- FlexberryAutogenerated="True" -->
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode title=Desktop description="Desktop application" url="~/Default.aspx" roles="*">
<siteMapNode title=Administration roles="admin" xmlns="">
<siteMapNode title=Users url="~/forms/Security/User/UserL.aspx" />
<siteMapNode title=Roles url="~/forms/Security/Role/RoleL.aspx" />
<siteMapNode title=Classes url="~/forms/Security/Class/ClassL.aspx" />
</siteMapNode>
<siteMapNode title="The accounting system of credits" roles="*" xmlns="">
<siteMapNode title="Loan officer" description="" url="~/forms/KreditnyjInspektor/KreditnyjInspektorL.aspx" />
<siteMapNode title="Credit" description="" url="~/forms/Kredit/KreditL.aspx" />
<siteMapNode title="Client" description="" url="~/forms/Klient/KlientL.aspx" />
</siteMapNode>
</siteMapNode>
</siteMap>
Was:
<?xml version="1.0" encoding="utf-8"?>
<!-- FlexberryAutogenerated="False" -->
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode title=Desktop description="Desktop application" url="~/Default.aspx" roles="*">
<siteMapNode title=Administration roles="admin" xmlns="">
<siteMapNode title=Users url="~/forms/Security/User/UserL.aspx" />
<siteMapNode title=Roles url="~/forms/Security/Role/RoleL.aspx" />
<siteMapNode title=Classes url="~/forms/Security/Class/ClassL.aspx" />
</siteMapNode>
<siteMapNode title="The accounting system of credits" roles="*" xmlns="">
<siteMapNode title="Loan officer" description="" url="~/forms/KreditnyjInspektor/KreditnyjInspektorL.aspx" />
<siteMapNode title="Credit" description="" url="~/forms/Kredit/KreditL.aspx" />
<siteMapNode title="Client" description="" url="~/forms/Klient/KlientL.aspx" />
<siteMapNode title=Google description="" url="http://www.google.com" roles="*" />
</siteMapNode>
<siteMapNode title=Reports roles="*">
<siteMapNode title=Reports description="" url="~/forms/Otcheti/Otcheti.aspx" />
</siteMapNode>
</siteMapNode>
</siteMap>
In the end, we get the following:
Read more about site map can be viewed in the MSDN.