Helper Icon Image

If you're enjoying these widgets please consider donating to their ongoing development

Donate 🍺

Extensions

CollectionExtensions

Method Summary Returns
Shuffle``1(System.Collections.Generic.IList{``0}) Shuffle the Enumerable around in a random order, Better implimentation void

DynamicContentExtensions

Method Summary Returns
GetCategories(Telerik.Sitefinity.DynamicModules.DynamicContent) Get the linked Categories IQueryable<HierarchicalTaxon>
GetChildren(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Returns the Child Items of the current DataItem IQueryable<DynamicContent>
GetChildren(Telerik.Sitefinity.DynamicModules.DynamicContent,System.Type) Returns the Child Items of the current DataItem IQueryable<DynamicContent>
GetChildrenFromParent(Telerik.Sitefinity.DynamicModules.DynamicContent,System.Type) Returns the Child Items of the current DataItems Parent, so like every content item on the same level as THIS item IQueryable<DynamicContent>
GetDocument(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Get a single document from a content link Telerik.Sitefinity.Libraries.Model.Document
GetDocuments(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Gets the documents from a content link array IQueryable<Telerik.Sitefinity.Libraries.Model.Document>
GetFlatTaxons(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Generic Taxon control, use GetCategories or GetTags for the defaults IQueryable<HierarchicalTaxon>
GetHierarchicalTaxons(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String,System.String) Generic Taxon control, use GetCategories or GetTags for the defaults IQueryable<HierarchicalTaxon>
GetImage(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Get a single image from a content link Telerik.Sitefinity.Libraries.Model.Image
GetImages(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Gets the images from a content link array IQueryable<Telerik.Sitefinity.Libraries.Model.Image>
GetTags(Telerik.Sitefinity.DynamicModules.DynamicContent) Get the linked Tags IQueryable<HierarchicalTaxon>
Live(System.Linq.IQueryable{Telerik.Sitefinity.DynamicModules.DynamicContent}) Get the Live Visible items IQueryable<DynamicContent>
Master(System.Linq.IQueryable{Telerik.Sitefinity.DynamicModules.DynamicContent}) Get the Master Visible items IQueryable<DynamicContent>
RetrieveDataThroughFiltering(System.Type) Get all data items of a Type IQueryable<DynamicContent>
Temp(System.Linq.IQueryable{Telerik.Sitefinity.DynamicModules.DynamicContent}) Get the Temp Visible items IQueryable<DynamicContent>
ToItemViewModel(Telerik.Sitefinity.IDataItem) Convert to fully dynamic object, saves headaches of .GetValue ItemViewModel
ToModuleDynamicObject(Telerik.Sitefinity.IDataItem) Convert to fully dynamic object, saves headaches of .GetValue Alias to ToItemViewModel ItemViewModel

Frontend

Method Summary Returns
FileReferenceExtensions.GetVersion(System.Web.Mvc.HtmlHelper,System.String) Returns your sitefinity version string
FileReferenceExtensions.ScriptVersioned(System.Web.Mvc.HtmlHelper,System.String) Append cache busting version a script tag
FileReferenceExtensions.StyleSheetVersioned(System.Web.Mvc.HtmlHelper,System.String,System.Boolean) Append cache busting version a stylesheet link MvcHtmlString

GeneralExtensions

Method Summary Returns
GetContentManager(System.Object) Gets an objects associated manager IManager
HasValue(Telerik.Sitefinity.DynamicModules.DynamicContent,System.String) Validates a DynamicContent item has a field defined, thx Stacey Schlenker for the update\testing bool

GuidExtensions

Method Summary Returns
GenerateFilterExpression(System.Guid[],System.String,Telerik.Sitefinity.GuidExtensions.FilterOperatorEnum,System.Boolean) Turns a guid array into a dynamic filter expression that openaccess can use string
GetAlbum(System.Guid) Returns an Album object from a Guid Telerik.Sitefinity.Libraries.Model.Album
GetDocument(System.Guid) Returns an Document object from a Guid Telerik.Sitefinity.Libraries.Model.Document
GetDynamicContent(System.Guid,System.String) Converts the Guid[] type to the DynamicContent objects Telerik.Sitefinity.DynamicModules.Model.DynamicContent
GetDynamicContentItems(System.Guid[],System.String) Converts the Guid[] type to the DynamicContent objects IQueryable<DynamicContent>
GetDynamicContentItemsWithCategories(System.Guid[],System.String,Telerik.Sitefinity.GuidExtensions.FilterOperatorEnum) Converts the Guid[] type to the DynamicContent objects IQueryable<DynamicContent>
GetDynamicContentItemsWithTags(System.Guid[],System.String,Telerik.Sitefinity.GuidExtensions.FilterOperatorEnum) Converts the Guid[] type to the DynamicContent objects IQueryable<DynamicContent>
GetDynamicContentItemsWithTaxa(System.Guid[],System.String,Telerik.Sitefinity.GuidExtensions.FilterOperatorEnum,System.String) Converts the Guid[] type to the DynamicContent objects IQueryable<DynamicContent>
GetImage(System.Guid) Returns an Image object from a Guid Telerik.Sitefinity.Libraries.Model.Image
GetPage(System.Guid) Returns a PageNode object from a Guid Telerik.Sitefinity.Pages.Model.PageNode
GetPageData(System.Guid) Returns a PageNode object from a Guid Telerik.Sitefinity.Pages.Model.PageData

MarkupExtensions

Method Summary Returns
HasContent(System.Object) Checks to see if there is content, returns true or false, useful for Visible bool
HideIfEmpty(System.Object,System.Boolean) Renders the "invisible class if the string item is empty, so clearly you need to have .invisible{display:none;} in your css string
IfContentExists(System.Object,System.Object,System.Object) Renders passed text if item is NOT empty string
IsFalse(System.Boolean,System.String,System.String) Renders passed text if FALSE string
IsTrue(System.Boolean,System.String,System.String) Renders passed text if TRUE string

PageExtensions

Method Summary Returns
UnpublishPage(Telerik.Sitefinity.Pages.PageNode) From https://plus.google.com/109308138315717177456/posts/CK1cANseeKP void

PublishingExtensions

Method Summary Returns
JustFingSaveIt(System.String,System.Collections.Generic.Dictionary{System.String,System.Object},System.Boolean,System.String,System.Boolean,System.Boolean,System.Guid,System.Boolean,System.Nullable{System.DateTime}) Saves a dynamic content item without all the workflow bloat Telerik.Sitefinity.DynamicModules.Model.DynamicContent

Security

Method Summary Returns
GetAvatar(Telerik.Sitefinity.Security.User,System.String) Returns a users avatar with fallback string

StringExtensions

Method Summary Returns
Capitalize(System.String) Capitalize the first letter of a string string
ContainsAll(System.String,System.String[]) Checks to see if a string contains all of the passed in values bool
ContainsAny(System.String,System.String[]) Check if a string contains any of the passed in words bool

Taxonomies

Method Summary Returns
GetValue``1(Telerik.Sitefinity.Taxonomies.Taxon,System.String,System.Boolean,System.Boolean) Gets a taxon attribute value T
HasAttribute(Telerik.Sitefinity.Taxonomies.Taxon,System.String) Checks for a key bool
HierarchicalFlattenHierarchy(Telerik.Sitefinity.Taxonomies.HierarchicalTaxon) Flattens out a taxon tree to a list IEnumerable<Telerik.Sitefinity.Taxonomies.Model.HierarchicalTaxon>
HierarchicalFlattenToString(System.Collections.Generic.IEnumerable{Telerik.Sitefinity.Taxonomies.HierarchicalTaxon},System.Char,System.Boolean) Flattens out the taxons to a delimited string string
HierarchicalGetFirstParentTaxon(Telerik.Sitefinity.Taxonomies.HierarchicalTaxon,System.String,Telerik.Sitefinity.Taxonomies.HierarchicalHierarchicalTaxonCompareType,System.Boolean) Searches from Parent to parent to match the taxon name you need, returns the first match Telerik.Sitefinity.Taxonomies.Model.HierarchicalTaxon
HierarchicalGetParentTaxa(Telerik.Sitefinity.Taxonomies.HierarchicalTaxon) Gets a list of the parent Taxon items List of HierarchicalTaxons linked to this item. 0 index is the closest parent.
HierarchicalGetRootTaxon(Telerik.Sitefinity.Taxonomies.HierarchicalTaxon) Gets the Root of a HierarchicalTaxon Telerik.Sitefinity.Taxonomies.Model.HierarchicalTaxon
HierarchicalHasParent(Telerik.Sitefinity.Taxonomies.HierarchicalTaxon) Lets us know if a Hierarchical taxon object has a parent object bool
IsSimpleType(System.Type) To Impliment Later bool
SetValue(Telerik.Sitefinity.Taxonomies.Taxon,System.String,System.Object,System.Boolean) Saves an attribute to a taxon. Do not forget to call SaveChanges on your TaxonomyManager. void