Hi,
Index: TopNavigation.ascx.cs
===================================================================
--- TopNavigation.ascx.cs (revision 6757)
+++ TopNavigation.ascx.cs (working copy)
@@ -37,7 +37,7 @@
using System.Xml;
/// <summary>
- /// Summary description for TopNavigation.
+ ///Summary description for TopNavigation.
/// </summary>
public class TopNavigation : System.Web.UI.UserControl
{
@@ -228,11 +228,24 @@
}
else
{
- UserLink.HRef =
"Users.aspx";
- iFolderLinkHRef
= "iFolders.aspx";
- ServerLink.HRef
= "Servers.aspx";
- SystemLink.HRef
= "SystemInfo.aspx";
- ReportsLinkHRef
= null;
+
+ body =
Page.FindControl( "report" );
+ if ( body !=
null )
+ {
+
UserLink.HRef = "Users.aspx";
+
iFolderLink.HRef = "iFolders.aspx";
+
ServerLink.HRef = "Servers.aspx";
+
SystemLink.HRef = "SystemInfo.aspx";
+
ReportsLink.HRef = null;
+ }
+ else
+ {
+
UserLink.HRef = "Users.aspx";
+
iFolderLink.HRef = "iFolders.aspx";
+
ServerLink.HRef = "Servers.aspx";
+
SystemLink.HRef = "SystemInfo.aspx";
+
ReportsLink.HRef = "Reports.aspx";
+ }
}
}
}
@@ -343,7 +356,8 @@
{
string type = e.GetType().Name;
- if ( e is SoapException )
+
+ if ( e is SoapException )
{
try
{
_______________________________________________ ifolder-dev mailing list [email protected] http://forge.novell.com/mailman/listinfo/ifolder-dev
