ASPX templates
Version 5.x > ASPX templates > CMSEditableRegion in ASCX control View modes: 
User avatar
Member
Member
rs36718-yahoo - 8/19/2010 8:03:51 AM
   
CMSEditableRegion in ASCX control
I have a generic user control to use in multiple pages/templates, which has 3 CMSEditableRegions. One of my pages needs 2 instances of this user controls but the problem is once I save the content both the controls are having same content although I enterd entirely different content.

Any Help?

Thanks,
RS

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/20/2010 4:14:03 AM
   
RE:CMSEditableRegion in ASCX control
Hi,

each instance of your user control has probably the same ID. That's the reason why the same content is saved.

Could you please read this article describing how to set dynamic ID?

Setting dynamic ID should fix this issue.

Best regards,
Ivana Tomanickova