Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Show editable region if repeater is empty View modes: 
User avatar
Member
Member
paul.truman-sunmed.co - 11/27/2012 6:01:43 AM
   
Show editable region if repeater is empty
Hi, on a page template I have an editable text region with (e.g.) "No Records Found" text in there. What I would like is for this editable region's text to be shown on the page when a repater (on the same page) contains no results. Is that possible?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/27/2012 8:47:12 AM
   
RE:Show editable region if repeater is empty
Hi,

why don't you just use the repeater and use the "No record found text" property which is displayed if there are no data returned by the repeater?

Best regards,
Juraj Ondrus

User avatar
Member
Member
paul.truman-sunmed.co - 11/27/2012 8:58:15 AM
   
RE:Show editable region if repeater is empty
Hi, I'd like to enter quite a bit of text there and use it for different languages ... so I thought using an editable region would be easier for layout and translation.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/28/2012 1:17:48 AM
   
RE:Show editable region if repeater is empty
Hi,

You can use localization macro and then add translation string for each culture and also you can use longer text too.

Best regards,
Juraj Ondrus