API
Version 7.x > API > Inline Widget: OnLoad without Posted Data View modes: 
User avatar
Member
Member
tkr-sos-kd - 7/15/2013 10:36:31 AM
   
Inline Widget: OnLoad without Posted Data
Hi everyone,

I encountered a problem in Kentico and it seems I cannot go further without your help.

I built a widget in Kentico which displays forms (UserControls). It works fine used in an editor zone. The problem appears only when I use it as an inline widget. After submitting the form the posted data should be processed already in OnLoad (ProcessPostData before OnLoad). They appear one event later, when the OnClick event is raised (ProcessPostData after OnLoad??).
How can I see the posted data in OnLoad?

We migrate our sites from MOSS and we have around 650 forms built this way. I really hope I can find a solution.

Best regards,
Tom

User avatar
Kentico Support
Kentico Support
kentico_janh - 7/18/2013 7:42:32 AM
   
RE:Inline Widget: OnLoad without Posted Data
Hello,

I just want to post what we have already found. When a widget is placed to a widget zone, it is placed as a control directly and gets proceed on OnLoad, whilst within the WYSIWYG editor the widget is placed as dynamic control (a control macro) and this needs to be resolved first, so it gets proceed later on OnLoad.

Best regards,
Jan Hermann