0

I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that will be visible on the web part. The modal will be mostly javascript code.

Basically I'm changing the way to edit the web part, just because that side bar doesn't not have enough space for what I want to show.

How can I do this?

2
  • 1
    Have you looked into dialogReturnValueCallback for the Modal Dialog?
    – user2536
    Commented Sep 16, 2013 at 10:23
  • I used dialogReturnValueCallback before to paste html into the editor content (rich editor). But now I want to paste the html in to the web part which works differently because there's no cursor
    – nhenrique
    Commented Sep 16, 2013 at 12:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.