Is there a way to send data to only one blocklist ...
# help-with-umbraco
m
I would like to assign an id to a blocklist partial view file if a condition is not met in the regular view file
s
You can assign a value to Context.Items, eg
Context.Items["myValue"] = "thevalue"
And then reference that in your block list partial, eg.
if (Context.Items["myValue"] == "thevalue")
m
do I need to call the blocklist partial view in the regular view file?
I figured it out, thank you so much!
2 Views