Retrieve the items data that is clicked in a repeater

@erramezani

You have fullText defined as a global varialble. When you go to use it, it will have the last value used since it has no idea which text you are using.

You can use an array to hold all of the full texts. Then whenever needed, either use the full text from the array, or use the full text to create the short text.

I also want to point out the Removal of the $w Parameter from Event Handlers . You should update your code to follow the new way of getting a context selector.