A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Is it your own sub selector or is it the selector from EPiServer?
I havent tried but could you set the Control.ID to something uniqe pr dynamic content control?
Hi,
I have a few dynamiccontent controls, when i select any of these first time.. they work as thought. But if i change the selection to another control the page crashes.
"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request."
What i want is to clear the viewstate when ever the dynamiccontent selector does a postback. (but i dont know to catch this event). I would also like to disable the selector when editing a previous created control.
*Disabling the viewstate of the "dynamic controls" isnt a option :(
all tips/suggestions are highly appreciated.
//alex