Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
Sitecore.Context.Database
var items = Sitecore.Context.Database.SelectItems("/sitecore/content/MyStore/Orders/*");
var folder = Sitecore.Context.Database.GetItem(new Sitecore.Data.ID(folderGuid)); var items = folder.Axes.SelectItems("*");
query://*[@@id='{folderGuid}']/*
private string _usernameEntered = string.Empty; protected void uxLogin_LoggingIn(object sender, LoginCancelEventArgs e) { var domainUser = Sitecore.Context.Domain.GetFullName(uxLogin.UserName); if (System.Web.Security.Membership.GetUser(domainUser) != null) { _usernameEntered = uxLogin.UserName; uxLogin.UserName = domainUser; } } protected void uxLogin_LoginError(object sender, EventArgs e) { uxLogin.UserName = _usernameEntered; }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.