Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm currently have a delegate control as such;

<SharePoint:DelegateControl runat="server" ControlId="MainNavigation" AllowMultipleControls="true">

I also have a feature which has a element manifest file containing:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Control Id="MainNavigation" Sequence="100" ControlSrc="~/_controltemplates/MainNavigation.ascx">
        <Property Name="Theme"></Property>
    </Control>
</Elements>

Whenever I try to update the delegatecontrol to set the "Theme" property an error is raised. I tried using:

<SharePoint:DelegateControl runat="server" ControlId="MainNavigation" AllowMultipleControls="true">

Am I missing something?

share|improve this question

1 Answer 1

I havent used properties in delegates in a long time, but dont you need to set the value in your control?

<Property Name="Theme">MyValue</Property>
share|improve this answer
    
Hi Anders, I also tried this but the control property was not set when testing. –  Brian Scott Feb 10 '11 at 16:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.