Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: How Does the Form Builder Go Full Width/Height?

$
0
0
There's a call to FunctionCallEditorManager.RegisterCustomCallEditor, there you pass a width and height parameters, if I remember correctly - null values either full screen, or auto adjusting the size.

namespace Composite.AspNet
{
[ApplicationStartup]
public class LoadUserControlStartupHandler
{
    public static void OnBeforeInitialize()
    {

    }

    public static void OnInitialized()
    {
        FunctionCallEditorManager.RegisterCustomCallEditor("Composite.AspNet.LoadUserControl",
"~/Composite/MyWebForms/Composite.AspNet.LoadUserControl/CallEditor.aspx",
null, 200);
    }
}

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>