My Project have master page .On my content page i write the bellow syntax
<dx:ASPxPopupControl ID="ASPxPopupControlUserRole" runat="server" CloseAction="CloseButton"
EnableClientSideAPI="True" HeaderText="Confirmation" Modal="True"
PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
ShowCloseButton="True" AllowDragging="True" EnableViewState="False">
<ContentCollection>
<dx:PopupControlContentControl runat="server"></dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>
private void ShowMessage(String Message)
{
if (Message != "")
{
PopupWindow Winddow = new PopupWindow(Message);
Winddow.ShowOnPageLoad = true;
ASPxPopupControlUserRole.Windows.Add(Winddow);
}
}
Under the button event event i call the ShowMessage method.But i can not see the message.Why not message show?