- spfsiteproperty.zip
- QuestechSystems.SiteProperty
- AppGlobalResources
- bin
- Release
- QuestechSiteProperty.wsp
- QuestechSystems.SharePoint.ApplicationPages.SiteProperty.dll
- QuestechSystems.SharePoint.ApplicationPages.SiteProperty.pdb
- ElementManifests
- Features
- QuestechSiteProperty
- Layouts
- Questech
- SharePointProjectItem.spdata
- Package
- pkg
- Release
- QuestechSiteProperty
- pkgobj
- Release
- Properties
- QuestechSystems.SiteProperty.csproj
- QuestechSystems.SiteProperty.csproj.user
- QuestechSystems.SiteProperty.sln
- Utility.cs
|
//
// Utility.cs - © Questech Systems
// This notice must stay intact for use. Not for resale.
//
using System;
using System.Configuration;
using System.Globalization;
using System.Web;
using System.Web.UI;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
namespace QuestechSystems.SharePoint.ApplicationPages
{
public static class Utility
{
public const string MsgConfirmDeleteSitePropertyFormatString = "return confirm('{0}');";
public const string PageNameManageSiteProperties = "MngSiteProperties.aspx";
public const string QueryKeyParamProperty = "property";
public const string QueryKeyParamSource = "Source";
public static string GetAddSitePropertyUrl()
{
return String.Format("AddSiteProperty.aspx?{0}={1}", QueryKeyParamSource, PageNameManageSiteProperties);
}
public static string GetEditSitePropertyUrl(string propertyNameUrlEncoded)
{
return String.Format("EditSiteProperty.aspx?{0}={1}&{2}={3}", QueryKeyParamProperty, propertyNameUrlEncoded, QueryKeyParamSource, PageNameManageSiteProperties);
}
public static void ModalDialogClose(string returnValue)
{
Page page = HttpContext.Current.Handler as Page;
page.Response.Clear();
page.Response.Write(String.Format(@"<script language=""javascript"" type=""text/javascript"">window.frameElement.commonModalDialogClose(1, ""{0}"");</script>", returnValue));
page.Response.End();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
A Microsoft Certified Professional Developer and Technology Specialist.
Experience and expertise in SharePoint 2016 / 2013 / 2010 / 2007.
Role ranges from a developer in a multi-person team to a solution consultant with expert-level skills, leading a project to completion status.
Proven experience working effectively in a team environment and a self-managed environment.