Hi guys,
I want to add my list of items ( which are in a repeater ) and make them appear in another repeater (which is on another page ). How do I do it?
Ex: A list of items on amazon which is on the home page, when clicked or added to cart, needs to reflect on the cart page.
The way to pass data between pages is with global variables. You can use them to store the data you have in your repeater dataset. Images require a little more work as they cannot be stored in a global variable, so you need to create a “hash” to represent any images–or any other widget/state.
Hey there,
I tried the methods mentioned here. But, the repeater on the second page shows a list of items except the first one and it doesn’t add rows but rather embeds content on the first row. However, I was able to achieve what I wanted using a dynamic panel but would you please help me with this
Attaching a screenshot.
Created a global variable called product_name and fetched the Item.ProductName from repeater 1 and added a row on the second page with Item.CartName displaying [[product_name.slice(product_name.indexOf(‘,’, 1))]]
It looks like you have solved your needs with a dynamic panel on one page. Do you want more help on how to do this on multiple pages, or do you have other problems with the two repeaters in different dynamic panel states?