We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Web Forms 4.5 - Repeater.Items is empty on Postback

Thread ID:





130363 May 9,2017 02:55 AM UTC May 9,2017 10:35 AM UTC ASP.NET Web Forms 1
Tags: General
Asked On May 9, 2017 02:55 AM UTC

I have a Repeater which has it's data set up on Page_Load

protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
myRepeater.DataSource = data;
When I come to save my data on postback, myRepeater.Items contains zero elements when I know there are several.

Any suggestions as to what may be the issue?

Prince Oliver [Syncfusion]
Replied On May 9, 2017 10:35 AM UTC

Hi Webico,  
Thank you for contacting Syncfusion support.  
We have prepared a sample demonstrating Repeater control. We are able to access the repeater items in post back. Kindly refer to the following link for the sample: http://www.syncfusion.com/downloads/support/forum/130363/ze/RepeaterSample-827696334 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon