Hello,
I've developed a SharePoint web part in Visual Studio 2010 that contains a button that launches a RadWindow:
I need the window to act as a modal dialog and inherit SharePoint's look and feel, so that the window matches the rest of SharePoint. As an example, one of SharePoint 2010's dialogs is attached: sharepoint_ss.png.
My dialog looks like: my_ss.png
How do I make my dialog look like SharePoint's? It needs to work for MOSS 2007 and SharePoint 2010.
I've developed a SharePoint web part in Visual Studio 2010 that contains a button that launches a RadWindow:
protected
override
void
CreateChildControls()
{
Button submitButton =
new
Button();
submitButton.Text =
"Show window"
;
submitButton.ID =
"popupButton"
;
Controls.Add(submitButton);
popupWindow =
new
RadWindow();
popupWindow.OpenerElementID = submitButton.ClientID;
popupWindow.NavigateUrl =
"http://www.google.com"
;
Controls.Add(popupWindow);
base
.CreateChildControls();
}
I need the window to act as a modal dialog and inherit SharePoint's look and feel, so that the window matches the rest of SharePoint. As an example, one of SharePoint 2010's dialogs is attached: sharepoint_ss.png.
My dialog looks like: my_ss.png
How do I make my dialog look like SharePoint's? It needs to work for MOSS 2007 and SharePoint 2010.