Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
XamlWeboutlookbar doesnt' work in a popup window
posted

Hi,

I have put a xamweboutlookbar control in a usercontrol which is opened on the click of a button. The usercontrol window shows up in the form of a popup window. I have seen that the xamloutlookbar  control gives error when the usercontrol that it is a part of is shown in the form of a popup control. How to filx this issue?

Thanks

Sathya

Parents
No Data
Reply
  • 3071
    posted

    Hi Sathya,
    This code will solve the issue:
    SilverlightControl2 userControl = new SilverlightControl2();
    Popup popup = new Popup();
    Grid grid = new Grid();
    popup.Child = grid;
    grid.Children.Add(
    new XamWebDialogWindow { WindowState = Infragistics.Silverlight.WindowState.Hidden });
    grid.Children.Add(userControl);
    popup.IsOpen =
    true; 
    Regards,
    Marin

Children
No Data