Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas Eriksson 930 posts 1825 karma points
    Oct 12, 2010 @ 13:11
    Jonas Eriksson
    0

    Extending the create new dialog

    I would like to extend the Umbraco Create New modal dialog with one or two fields. I do have an Ascx control which I fire up from a dashboard in the right iframe, but it would be even nicer to use the modal create new dialog. I think I remember seing an example somewhere, but I dont know where. Anyone?

    Regards

    Jonas

  • Jonas Eriksson 930 posts 1825 karma points
    Oct 12, 2010 @ 15:42
    Jonas Eriksson
    0

    Found a clue, guess creating a javascript like so will do the trick:

    string.Format(GetMainWindow + ".openModal('{0}','{1}',{2},{3});", url, name, height, width)

    ref http://www.java2s.com/Open-Source/CSharp/Content-Management-Systems-CMS/umbraco/umbraco/BasePages/ClientTools.cs.htm

  • Jonas Eriksson 930 posts 1825 karma points
    Oct 12, 2010 @ 15:57
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies