Dynamically create OfficePopup

May 3, 2011 at 11:22 AM

Hi All,

Could you tell me is there is a way to dynamically create an OfficePopup ?

I have try this but it doesn't (content must be itemplate but i not familiar with this...)

OfficeWebUI.OfficePopup popup = new OfficeWebUI.OfficePopup();
            popup.Title = "Test PopUP";
            popup.Width = new Unit(600);
            popup.Content = "<h1>Test popup content</h1>";

Could you help me ?