We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Rick Mason 06 Nov 2013, 15:44:02 Updated by Shannon Deminick 21 Nov 2013, 00:28:43
Is duplicated by: U4-3577
I have created an ASCX file and saved it in the ~/usercontrols folder, with its DLL in the ~/bin folder. I create a macro and specify ~/usercontrols/Example.ascx in the Macro Properties > usercontrol box. I can add this macro to a template and it works.
The code-behind for the ASCX has a public property defined as:
public string ExampleProperty { get; set; }
In Macro Properties I click "Browse Properties". A panel named "Choose Properties from Example" appears and lists ExampleProperty. It is ticked. I click "Save Properties" and it says:
"The following Macro Parameters was added: Added: Example Property Important: You might need to reload the macro to see the changes."
In the left menu I click on Macros > Reload Nodes, then on my macro, then the Parameters tab. I expect to see a parameter but there are none.
I've just installed Umbraco v6.1.6 using exactly the same setup and test code. This function works there. The "reload nodes" step is not necessary, but clicking the macro name in the navigation tree is.
same thing in V7, as its the exact same editor, you should not need to reload the tree, but just reload the macro editor
I can replicate this, when i click add nothing happens. investigating now.
Priority: Critical
Type: Bug
State: Fixed
Assignee: Shannon Deminick
Difficulty: Normal
Category:
Backwards Compatible: True
Fix Submitted:
Affected versions: 7.0.0
Due in version: 7.0.0
Sprint:
Story Points:
Cycle: