Re: Sharepoint Foundations - Content Types

2012-03-26 Thread Nigel Witherdin
Hi, 1) Is there a way to “Publish” a list content type as a site content type? Not through the UI (that I am aware of). There may be some way it is possible through SP Designer, or you could save the list as a template, download the .stp and rename to .cab, extract the schematic.xml

RE: Parser error with custom field control

2012-03-26 Thread Paul Turner
Have you tried to take the CodeBehind out. Regards Paul Turner NOTICE - This communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or

RE: Parser error with custom field control

2012-03-26 Thread Paul Noone
I could but then nothing would render at all I don't. It seems that the problem is with parsing the field, so maybe the XML schema has changed? The control definitely inherits from System.Web.UI.UserControl! From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul

RE: Parser error with custom field control

2012-03-26 Thread Paul Noone
OK. So I commented out the code behind reference and now get this. Does that offer a clue?? Unable to cast object of type 'ASP._controltemplates_ceo_cascadinglookup_clueditcontrolwithfilter_ascx' to type 'Microsoft.SharePoint.WebControls.IFieldEditor'. Description: An unhandled exception

DVWP - Insert Lookup as Hyperlink

2012-03-26 Thread Paul Noone
Hi all, I'm sure this can be achieved but I'm going round the bend. I have a Schools list with a single lookup column to a corresponding Annual Report library. [cid:image001.png@01CD0C10.B45B3A20] SPD is using the following XML to render the link, which is the lookup Title value. a

RE: Parser error with custom field control

2012-03-26 Thread James Boman
Paul, Looks like this ASCX is actually the control for the field editor. Two things - the ASCX needs to be in a folder in the CONTROLTEMPLATES directory, and the usercontrol code-behind must implement the IFieldEditor interface. Declare your class in the code-behind like this: