Why is my standard ASP.NET control data empty after postback on the ASPX template?

HelenaG Grulichova asked on October 31, 2012 05:59

Why is my standard ASP.NET control data empty after postback on the ASPX template?

Correct Answer

HelenaG Grulichova answered on October 31, 2012 05:59

If you use or have upgraded your site to version 6.0 and you are using standard ASP.NET controls like, for example, asp:repeater, you may have an issue after postback; your data may be lost. There are to possible solutions:

1. Use PageManager instead of PortalManager on your master page.

2. Load data in init phase without the !RequestHelper.IsPostBack() condition.

-it-
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.