FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Oct 31, 2012, 2:50 AM
129 Posts

Re: Repeat Control Hide/Display Data Row

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 2
When you hide an item server side, the item that's refreshed/hidden isn't rendered to the browser. That's the reason you get an error.
 
What I tend to do is to wrap the item that should be hidden with a xp:panel or xp:div. Refresh the wrapper. Then the item is hidden/shown, and the refresh can run.
 
If the repeat control isn't big, you could skip the wrapper, and just refresh the repeat. 

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.