This project is read-only.
2
Vote

Use master layout with SparkEmailMerge Sample Options

description

Hi,
 
I try to make master layouts working with the SparkEmailMerge sample.
I tried to put an Application.spark in the Templates/Layouts/ folder but it doesn't work, i also tried to make the master selection explicit by using <use master="Application" /> in the view but it didn't work either.
Does anyone have an idea how I could fix this?
 
Thanks in advance,
 
Guillaume

comments

kirkov wrote Jul 5, 2011 at 11:37 AM

I solved this by adding by adding Application.spark as template to the descriptor:
descriptor.AddTemplate("Application.spark");

and used ${Content["view"]} instead of <use content="view"/> in the template.

That seems to work. Let me know if you have any issues after trying it.

wrote Feb 14, 2013 at 8:03 PM