Jan 22 at 10:17 AM
Edited Jan 22 at 10:25 AM
|
Within my controller action I can do something like this to define the shape template :
dynamic shape = _shapeFactory.MyShapeTemplate();
shape.Property1= "ffgg";
return new ShapePartialResult(this, shape);
Can i set the shape name somehow dynamically from a string variable, something like this :
string shapeName="MyShapeTemplate";
dynamic shape = _shapeFactory.SetShapeName(shapeName);
Thank you in advance.
|