Geeks With Blogs
Athens's Id Permanent Resident of the Blue Nowhere
public static class XDocumentExtensions { /// <summary> /// Saves the contents of an XDocument object to an XmlDocument object /// </summary> /// <param name="xDocument">Source document</param> /// <returns>Destination document</returns> public static XmlDocument GetXmlDocument(this XDocument xDocument) { XmlDocument ......

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Xml; using System.Xml.Linq; using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Pack... using System.Text; using System.IO.Packaging; using DocumentFormat.OpenXml.Word... /// <summary> /// DocumentExtensions ......

Vista Home Premium sucks, but having preinstalled, and having used it for a couple of weeks before I discovered this I was stuck with a 95GB partition for System and 56GB for Data on my Asus G2S. I looked around a bit and found that you can resize the partition from Disk Management (or DiskPart.exe for you CL fans). Cool, I was set, ran it with 36GB ......

Over the next few days I will be posting updated custom webpart code taking full advantage of .NET 3.0

I am very much looking forward to getting this out to you, I have been working on it for some time and it has some pretty interesting stuff... Just a teaser, more later.

22
Aug 07
I have often run into issues with references to the internal class System.Web.SR so I extracted it and corrected the references, then made everything public. It is called PSR and you can find it here: PSR.zip *NOTE: This has not yet been tested. Several people have expressed interest in it and I wanted to throw it out there ASAP. Let me know how it ......

Normally I believe that the Delete View is only available within Design View. There are several possible angles that I am pursuing for exposing the delete verb within the Browse View. One thing to note is that no webparts or user controls can be declared within the page code. All must be added from a catalog to the shared view or the delete function ......

I am including the CustomWebPartZone code as well as the CustomWebPartChrome since it really serves no other purpose than to hijack the call to the standard WebPartChrome and directs the request to CustomWebPartChrome. public class CustomWebPartZone : WebPartZone { protected override WebPartChrome CreateWebPartChrome() {return new CustomWebPartChrome(this, ......

This is the source for a recently created custom declarativecatalogpart that filters out webparts that already exist on the page. This prevents duplicate webparts from being added. Otherwise it will run from either a template control list or declared controls. /// <summary> /// A replacement for the declarative catalog part meant for limiting ......

Source for a Custom CatalogZone This hijacks the catalogpartchrome and uses a customcatalogpartchrome but has a few other niceties as well. /// <summary> /// Summary description for CustomCatalogZone /// </summary> public class CustomCatalogZone : CatalogZone { // Fields private ITemplate _zoneTemplate; protected override CatalogPartChrome ......

Source for CustomCatalogPartChrome referenced from CustomCatalogZone /// <summary> /// Summary description for CustomCatalogPartChrome /// </summary> public class CustomCatalogPartChrome : CatalogPartChrome { private CatalogZone _zone; private Page _page; public CustomCatalogPartChrome (CatalogZone zone):base(zone) { this._zone = zone; this._page ......

Copyright © Athenz | Powered by: GeeksWithBlogs.net | Join free