弹出 控件代码:
<dxpc:ASPxPopupControl ID="PopJCJH" ClientInstanceName="PopJCJH" runat="server" EnableClientSideAPI="True"
EnableHierarchyRecreation="True" Width="630px" Height="500px" Modal="True" ShowCloseButton="true"
ShowHeader="true" ShowShadow="False">
button定义:
<asp:ImageButton runat="server" ID="IBPlanOfAudit"
imageurl="~/icon/system_search.gif" οnclick="IBPlanOfAudit_Click" >
后台代码:
protected void IBPlanOfAudit_Click(object sender, ImageClickEventArgs e)
{
this.PopJCJH.HeaderText = "****";
this.PopJCJH.ContentUrl = "E*****n_In*****on.aspx"; //弹出页面
}
按照上面的代码写,devexpress,是弹不出弹出框的,只是简单的对页面进行一次刷新。
解决方法:
PopupElementID="IBPlanOfAudit" EnableHierarchyRecreation="True" Width="630px" Height="500px" Modal="True" ShowCloseButton="true"
ShowHeader="true" ShowShadow="False">