A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
FormProperty.Visible = !form.IsPosted;but the form is ALWAYS visible. (I have also made other tracing checks which all show the form is never posted.) If I do the check on IsPostBack, it changes as expected. This is for an EPiServer 4.51 installation. In another application, running 4.31, the above works fine. In the 4.31 app., I have implemented theprivate void Page_PreRender(object sender, System.EventArgs e)method to do this work, and to populate a System.Web.UI.HtmlControls.HtmlSelect from an ArrayList. This does not work in the 4.51 app. HOWEVER, if I do the population in the Page_Load() method, I get the HtmlSelect to be populated correctly (well, at least good enough). Regardless of which method I implement, the IsPosted check(s) is never indicating that the form is posted. The form settings are allowing anonymous posts, allowing multiple posts. Posting has been tested from both MSIE, Firefox, and Opera (all on WinXP Pro) same results. (The 4.51 application is (still) running on a Developer License.) There are no special requirements on the fields in the form, and the problem is present also if I change the form as to contain only one single field. All suggestions to solutions are most welcome.