My problem is that we are creating a responsive site and we are going to effectively render two renderings of the same item on one view. The current markup is too complex to refactor to be common across all devices. We do not want to do 'adaptive' with device detection since our clients feel that window resizing is a valid use case.
We want to maintain the same presentation details across both of these and my solution is to attempt to render the placeholder multiple times? Is this possible? Is there a better solution?
To be clear:
- I realize a separate rendering targeted by device is best, but not an option
- we are rendering two versions of the same control in one rendering.
from the comments, for clarity
I think the crux of the problem is that MyComponent and MyMobileComponent both have dynamic content inside, let's call it 'MyPlaceHolder'. So how do I have only 1 MyPlaceholder, but render it for both MyComponent and MyMobileCompenent. Having 2 unique placeholder is a horrible authoring flow and possibly unachievable.