CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of vpp
C#
using System;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using EPiServer;
using EPiServer.ClientScript;
using EPiServer.Core;
using EPiServer.Editor;
 
namespace MyProject
{
by rawbert   May 19, 2011 @ 12:50am
251 Views
no comments
 
C#
/// <summary>
/// Get the file that will be read/written to
/// </summary>
/// <returns></returns>
public UnifiedFile GetFileFromProperty(PageData page, string propertyName)
{
    var filePath = page.Property[propertyName] != null
                       ? (string)page.Property[propertyName].Value
                       : string.Empty;
    if (string.IsNullOrEmpty(filePath)) return null;
by rawbert   February 25, 2011 @ 12:45am
294 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate